classabbyamp 191bf2460d common/build-helper/rust.sh: fix cross for bindgen
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.
2022-03-14 08:08:30 +01:00
..
2022-01-08 17:51:54 +01:00
2022-03-01 16:06:41 +01:00
2022-03-12 16:38:18 +01:00