Skip to content

Commit d931a58

Browse files
committed
Revert "Mark atomics as unsupported on thumbv6m"
This reverts commit 7514610.
1 parent b4151a4 commit d931a58

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)