mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 11:07:42 +00:00
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 7514610219
.
cc `@nikic`
This commit is contained in:
commit
c32dcbba18
@ -14,9 +14,8 @@ pub fn target() -> Target {
|
|||||||
// The ARMv6-M architecture doesn't support unaligned loads/stores so we disable them
|
// The ARMv6-M architecture doesn't support unaligned loads/stores so we disable them
|
||||||
// with +strict-align.
|
// with +strict-align.
|
||||||
features: "+strict-align".into(),
|
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
|
// architecture
|
||||||
max_atomic_width: Some(0),
|
|
||||||
atomic_cas: false,
|
atomic_cas: false,
|
||||||
..super::thumb_base::opts()
|
..super::thumb_base::opts()
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user