mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-21 20:19:33 +00:00
rice-c/build.rs runs bindgen without any target flags, so libclang parsed the build host headers in /usr/include, which fails when cross compiling, e.g. for riscv64/musl: /usr/include/bits/floatn.h:97:9: error: __float128 is not supported on this target Pass the target arch flags, sysroot and triple via BINDGEN_EXTRA_CLANG_ARGS, as thin-provisioning-tools does. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>