Revert "Mark atomics as unsupported on thumbv6m"

This reverts commit 7514610219.
This commit is contained in:
Amanieu d'Antras 2022-07-24 13:12:08 +01:00
parent b4151a41a0
commit d931a587e6

View File

@ -14,9 +14,8 @@ pub fn target() -> Target {
// The ARMv6-M architecture doesn't support unaligned loads/stores so we disable them
// with +strict-align.
features: "+strict-align".into(),
// There are no atomic instructions available in the instruction set of the ARMv6-M
// There are no atomic CAS instructions available in the instruction set of the ARMv6-M
// architecture
max_atomic_width: Some(0),
atomic_cas: false,
..super::thumb_base::opts()
},