Skip to content

Commit

Permalink
ndk-sys: Regenerate against NDK r25.0 (build 8775105)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
MarijnS95 committed Jul 26, 2022
1 parent 9a8be25 commit 3e9f305
Show file tree
Hide file tree
Showing 5 changed files with 11,363 additions and 3,791 deletions.
2 changes: 1 addition & 1 deletion ndk-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ndk-sys"
version = "0.4.0"
version = "0.4.0+25.0.8775105"
authors = ["The Rust Windowing contributors"]
edition = "2018"
description = "FFI bindings for the Android NDK"
Expand Down
Loading

0 comments on commit 3e9f305

Please sign in to comment.