Skip to content

Commit b47e4a4

Browse files
committed
Revert "Auto merge of #98333 - SimonSapin:riscv-atomic, r=Amanieu"
This reverts commit 90f0b24, reversing changes made to e173a8e.
1 parent 90f0b24 commit b47e4a4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

compiler/rustc_target/src/spec/riscv32i_unknown_none_elf.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pub fn target() -> Target {
1111
linker_flavor: LinkerFlavor::Gnu(Cc::No, Lld::Yes),
1212
linker: Some("rust-lld".into()),
1313
cpu: "generic-rv32".into(),
14-
max_atomic_width: Some(32),
14+
max_atomic_width: Some(0),
1515
atomic_cas: false,
1616
panic_strategy: PanicStrategy::Abort,
1717
relocation_model: RelocModel::Static,

compiler/rustc_target/src/spec/riscv32im_unknown_none_elf.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pub fn target() -> Target {
1111
linker_flavor: LinkerFlavor::Gnu(Cc::No, Lld::Yes),
1212
linker: Some("rust-lld".into()),
1313
cpu: "generic-rv32".into(),
14-
max_atomic_width: Some(32),
14+
max_atomic_width: Some(0),
1515
atomic_cas: false,
1616
features: "+m".into(),
1717
panic_strategy: PanicStrategy::Abort,

compiler/rustc_target/src/spec/riscv32imc_unknown_none_elf.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pub fn target() -> Target {
1111
linker_flavor: LinkerFlavor::Gnu(Cc::No, Lld::Yes),
1212
linker: Some("rust-lld".into()),
1313
cpu: "generic-rv32".into(),
14-
max_atomic_width: Some(32),
14+
max_atomic_width: Some(0),
1515
atomic_cas: false,
1616
features: "+m,+c".into(),
1717
panic_strategy: PanicStrategy::Abort,

0 commit comments

Comments
 (0)