Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cargo: Forward
cflags
to bindgen
via BINDGEN_EXTRA_CLANG_ARGS
When a crate invokes `bindgen` through a `build.rs` script to generate Rust code files, it should be using the headers that target Android rather than system headers. The include paths for these are already set up in the `cflags` that we pass to `cc-rs` (for `clang`), and can be trivially reused for `bindgen`'s `clang`.
- Loading branch information