Skip to content

Commit eb33df8

Browse files
committed
Fix target_abi in sparc-unknown-none-elf
This was previously set to `target_abi = "elf"`, but `elf` is not used elsewhere as a target ABI (even though there's many targets that have it in their name).
1 parent 44722bd commit eb33df8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_target/src/spec/targets/sparc_unknown_none_elf.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pub(crate) fn target() -> Target {
77
linker: Some("sparc-elf-gcc".into()),
88
endian: Endian::Big,
99
cpu: "v7".into(),
10-
abi: "elf".into(),
10+
abi: "".into(),
1111
max_atomic_width: Some(32),
1212
atomic_cas: true,
1313
panic_strategy: PanicStrategy::Abort,

0 commit comments

Comments
 (0)