Skip to content

Commit 4d4df88

Browse files
committed
Set max_atomic_width for sparc-unknown-linux-gnu to 32
1 parent 90f0b24 commit 4d4df88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: compiler/rustc_target/src/spec/sparc_unknown_linux_gnu.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pub fn target() -> Target {
55
let mut base = super::linux_gnu_base::opts();
66
base.endian = Endian::Big;
77
base.cpu = "v9".into();
8-
base.max_atomic_width = Some(64);
8+
base.max_atomic_width = Some(32);
99
base.add_pre_link_args(LinkerFlavor::Gnu(Cc::Yes, Lld::No), &["-mv8plus"]);
1010

1111
Target {

0 commit comments

Comments
 (0)