Commit 2493539
committed
cargo: Forward
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`.cflags to bindgen via BINDGEN_EXTRA_CLANG_ARGS
1 parent 2c967e1 commit 2493539
1 file changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
387 | | - | |
| 387 | + | |
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
394 | 405 | | |
395 | 406 | | |
396 | 407 | | |
| |||
465 | 476 | | |
466 | 477 | | |
467 | 478 | | |
| 479 | + | |
468 | 480 | | |
469 | 481 | | |
470 | 482 | | |
| |||
0 commit comments