diff options
| author | Justin Restivo <jrestivo@draper.com> | 2021-03-17 10:32:39 -0400 |
|---|---|---|
| committer | Justin Restivo <jrestivo@draper.com> | 2021-03-17 10:45:58 -0400 |
| commit | 9a3e23fed212efcac3b7728ef2cef598feb078c6 (patch) | |
| tree | e80330c96caca3a5817b8732d1bce7ab1a7b0919 | |
| parent | 2c7490379d7e8854192c176039cfabf6acefe7ef (diff) | |
| download | rust-9a3e23fed212efcac3b7728ef2cef598feb078c6.tar.gz rust-9a3e23fed212efcac3b7728ef2cef598feb078c6.zip | |
riscvgc-unknown-none-elf use lp64d ABI
| -rw-r--r-- | compiler/rustc_target/src/spec/riscv64gc_unknown_none_elf.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_target/src/spec/riscv64gc_unknown_none_elf.rs b/compiler/rustc_target/src/spec/riscv64gc_unknown_none_elf.rs index 33a785fdfee..aa823b13fdd 100644 --- a/compiler/rustc_target/src/spec/riscv64gc_unknown_none_elf.rs +++ b/compiler/rustc_target/src/spec/riscv64gc_unknown_none_elf.rs @@ -11,6 +11,7 @@ pub fn target() -> Target { options: TargetOptions { linker_flavor: LinkerFlavor::Lld(LldFlavor::Ld), linker: Some("rust-lld".to_string()), + llvm_abiname: "lp64d".to_string(), cpu: "generic-rv64".to_string(), max_atomic_width: Some(64), atomic_cas: true, |
