mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 09:38:26 +03:00
Set max_atomic_width to 0 because there's no atomic instructions on ARMv5
This commit is contained in:
@@ -24,7 +24,8 @@ pub fn target() -> TargetResult {
|
||||
|
||||
options: TargetOptions {
|
||||
features: "+soft-float".to_string(),
|
||||
max_atomic_width: Some(64),
|
||||
// No atomic instructions on ARMv5
|
||||
max_atomic_width: Some(0),
|
||||
abi_blacklist: super::arm_base::abi_blacklist(),
|
||||
.. base
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user