Set max_atomic_width to 0 because there's no atomic instructions on ARMv5
This commit is contained in:
parent
8016dc39aa
commit
365ea800bd
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue