about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-09-02 04:19:30 +0200
committerGitHub <noreply@github.com>2024-09-02 04:19:30 +0200
commitefad457ad52227bc7d4148dd961ca0403a8ee2f1 (patch)
tree50bce005c77ada2012ead4ae8838cfac6ada9757
parent5c3370d684a0fe2d1f9b23092e454890c1ef746a (diff)
parentde7a14e97730905c2fee7cda5728255f1f596d04 (diff)
downloadrust-efad457ad52227bc7d4148dd961ca0403a8ee2f1.tar.gz
rust-efad457ad52227bc7d4148dd961ca0403a8ee2f1.zip
Rollup merge of #129842 - no1wudi:master, r=saethlin
Fix LLVM ABI NAME for riscv64imac-unknown-nuttx-elf

This patch fix https://github.com/rust-lang/rust/issues/129825

For the riscv64imac target, the LLVM ABI NAME should be "lp64", which is the default ABI if not specified for the riscv64imac target.
-rw-r--r--compiler/rustc_target/src/spec/targets/riscv64imac_unknown_nuttx_elf.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/spec/targets/riscv64imac_unknown_nuttx_elf.rs b/compiler/rustc_target/src/spec/targets/riscv64imac_unknown_nuttx_elf.rs
index 215c0724f91..80d58e5bace 100644
--- a/compiler/rustc_target/src/spec/targets/riscv64imac_unknown_nuttx_elf.rs
+++ b/compiler/rustc_target/src/spec/targets/riscv64imac_unknown_nuttx_elf.rs
@@ -21,7 +21,6 @@ pub fn target() -> Target {
             os: "nuttx".into(),
             linker_flavor: LinkerFlavor::Gnu(Cc::No, Lld::Yes),
             linker: Some("rust-lld".into()),
-            llvm_abiname: "lp64d".into(),
             cpu: "generic-rv64".into(),
             max_atomic_width: Some(64),
             features: "+m,+a,+c".into(),