Skip to content

Commit

Permalink
Set max_atomic_width for sparc-unknown-linux-gnu to 32
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Aug 5, 2023
1 parent 90f0b24 commit 4d4df88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_target/src/spec/sparc_unknown_linux_gnu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pub fn target() -> Target {
let mut base = super::linux_gnu_base::opts();
base.endian = Endian::Big;
base.cpu = "v9".into();
base.max_atomic_width = Some(64);
base.max_atomic_width = Some(32);
base.add_pre_link_args(LinkerFlavor::Gnu(Cc::Yes, Lld::No), &["-mv8plus"]);

Target {
Expand Down

0 comments on commit 4d4df88

Please sign in to comment.