191bf2460d
When using a build.rs script to dynamically generate bindgen bindings at build-time, it will run on the host, and by default bindgen will generate bindings for the host arch/libc instead of the target. To generate the bindings on cross, we need to use BINDGEN_EXTRA_CLANG_ARGS to specify the proper sysroot and include path for the target. These arguments are not used for anything other than bindgen's clang invocation. |
||
---|---|---|
.. | ||
build-helper | ||
build-profiles | ||
build-style | ||
chroot-style | ||
cross-profiles | ||
environment | ||
hooks | ||
repo-keys | ||
scripts | ||
travis | ||
wrappers | ||
xbps-src | ||
options.description | ||
shlibs |