summaryrefslogtreecommitdiffstats
path: root/meta-skeleton/recipes-multilib
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-10-25 20:44:26 +0200
committerSteve Sakoman <steve@sakoman.com>2022-11-04 09:16:52 -1000
commit2daa8d76369cd06e5c357e393e3145e08f3d6760 (patch)
treeebe6c81957d9ac655bd19de50f5f793efe4fb447 /meta-skeleton/recipes-multilib
parentdda8017274e71daa7aa4d8a3a15e128df213b0de (diff)
downloadopenembedded-core-2daa8d76369cd06e5c357e393e3145e08f3d6760.tar.gz
rust-target-config: match riscv target names with what rust expects
Official rust risc-v targets are prefixed with riscv32gc- and riscv64gc-: https://doc.rust-lang.org/nightly/rustc/platform-support.html Particularly crossbeam-utils make important build time decisions for atomics based on those names, and so we need to match ours with official targets. On the other hand, the actual definitions for those targets do not use the 'gc' suffix in 'arch' and 'llvm-target' fields, and so we need to follow that too, to avoid cryptic mismatch errors from rust-llvm: https://github.com/rust-lang/rust/blob/master/compiler/rustc_target/src/spec/riscv32gc_unknown_linux_gnu.rs Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1cfb9c8a59d98ccc9b0510cd28fb933f72fb6b6c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta-skeleton/recipes-multilib')
0 files changed, 0 insertions, 0 deletions