Skip to content
Commit 60fde89b authored by David Brown's avatar David Brown Committed by David Brown
Browse files

rust: zephyr-sys: Fixup clang targets for RISCV



Rustc for RISCV encodes optional features on the CPU available as part
of the target tuple.  Clang, on the other hand does not.  In order to be
able to use libclang with bindgen on RISCV, we need to simplify the
target tuples a bit.  Do this by just matching 'riscv32' or 'riscv64'
and then passing in a generic tuple.  We aren't generating any code, and
the structs should always match between the targets.

Signed-off-by: default avatarDavid Brown <david.brown@linaro.org>
parent 0332ce85
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment