Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ndk-sys: Regenerate against NDK r25.0 (build 8775105) #324

Merged
merged 2 commits into from
Nov 21, 2022
Merged

Conversation

MarijnS95
Copy link
Member

@MarijnS95 MarijnS95 commented Jul 26, 2022

Note that an enum suffix had to be added to AMidi.h to prevent bindgen from erroring out on (EDIT: reported upstream at android/ndk#1739):

~/Android/Sdk/ndk/25.0.8775105/toolchains/llvm/prebuilt/linux-x86_64/sysroot//usr/include/amidi/AMidi.h:230:1: error: must use 'enum' tag to refer to type 'AMidiDevice_Protocol'
~/Android/Sdk/ndk/25.0.8775105/toolchains/llvm/prebuilt/linux-x86_64/sysroot//usr/include/amidi/AMidi.h:230:1: error: must use 'enum' tag to refer to type 'AMidiDevice_Protocol', err: true
thread 'main' panicked at 'Unable to generate bindings: ()', src/main.rs:52:36
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Also list this NDK version in the ndk-sys version metadata, exposing it on the crates.io frontpage.

Note that an `enum` suffix had to be added to `AMidi.h` to prevent
`bindgen` from erroring out on:

    ~/Android/Sdk/ndk/25.0.8775105/toolchains/llvm/prebuilt/linux-x86_64/sysroot//usr/include/amidi/AMidi.h:230:1: error: must use 'enum' tag to refer to type 'AMidiDevice_Protocol'
    ~/Android/Sdk/ndk/25.0.8775105/toolchains/llvm/prebuilt/linux-x86_64/sysroot//usr/include/amidi/AMidi.h:230:1: error: must use 'enum' tag to refer to type 'AMidiDevice_Protocol', err: true
    thread 'main' panicked at 'Unable to generate bindings: ()', src/main.rs:52:36
    stack backtrace:
    note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Also list this NDK version in the `ndk-sys` version metadata, exposing
it on the crates.io frontpage.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants