Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build.rs: Manually pass the host to bindgen clang
In order to avoid errors like this when cross compiling: error: unknown target triple 'riscv32imc-unknown-none-elf', please use -triple or -arch we pass the host target to clang instead of the target. See rust-lang/rust-bindgen#1728 for the upstream issue. Signed-off-by: Alistair Francis <[email protected]>
- Loading branch information