Skip to content

Commit 9a3e23f

Browse files
author
Justin Restivo
committed
riscvgc-unknown-none-elf use lp64d ABI
1 parent 2c74903 commit 9a3e23f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_target/src/spec/riscv64gc_unknown_none_elf.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ pub fn target() -> Target {
1111
options: TargetOptions {
1212
linker_flavor: LinkerFlavor::Lld(LldFlavor::Ld),
1313
linker: Some("rust-lld".to_string()),
14+
llvm_abiname: "lp64d".to_string(),
1415
cpu: "generic-rv64".to_string(),
1516
max_atomic_width: Some(64),
1617
atomic_cas: true,

0 commit comments

Comments
 (0)