Skip to content

Commit c32dcbb

Browse files
committed
Auto merge of #99670 - Amanieu:revert-99595, r=nikic
Revert "Mark atomics as unsupported on thumbv6m" This is a breaking change for the `thumbv6m` target. See #99668 for discussion on how we can proceed forward from here. This reverts commit 7514610. cc `@nikic`
2 parents b4151a4 + d931a58 commit c32dcbb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler/rustc_target/src/spec/thumbv6m_none_eabi.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ pub fn target() -> Target {
1414
// The ARMv6-M architecture doesn't support unaligned loads/stores so we disable them
1515
// with +strict-align.
1616
features: "+strict-align".into(),
17-
// There are no atomic instructions available in the instruction set of the ARMv6-M
17+
// There are no atomic CAS instructions available in the instruction set of the ARMv6-M
1818
// architecture
19-
max_atomic_width: Some(0),
2019
atomic_cas: false,
2120
..super::thumb_base::opts()
2221
},

0 commit comments

Comments
 (0)