Set max_atomic_width for AVR to 16
This commit is contained in:
parent
90f0b24ad3
commit
c9e83c02a2
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ pub fn target(target_cpu: &'static str, mmcu: &'static str) -> Target {
|
|||
LinkerFlavor::Gnu(Cc::Yes, Lld::No),
|
||||
&["-lgcc"],
|
||||
),
|
||||
max_atomic_width: Some(0),
|
||||
max_atomic_width: Some(16),
|
||||
atomic_cas: false,
|
||||
relocation_model: RelocModel::Static,
|
||||
..TargetOptions::default()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue