Set max_atomic_width for AVR to 16
This commit is contained in:
parent
90f0b24ad3
commit
c9e83c02a2
@ -23,7 +23,7 @@ pub fn target(target_cpu: &'static str, mmcu: &'static str) -> Target {
|
|||||||
LinkerFlavor::Gnu(Cc::Yes, Lld::No),
|
LinkerFlavor::Gnu(Cc::Yes, Lld::No),
|
||||||
&["-lgcc"],
|
&["-lgcc"],
|
||||||
),
|
),
|
||||||
max_atomic_width: Some(0),
|
max_atomic_width: Some(16),
|
||||||
atomic_cas: false,
|
atomic_cas: false,
|
||||||
relocation_model: RelocModel::Static,
|
relocation_model: RelocModel::Static,
|
||||||
..TargetOptions::default()
|
..TargetOptions::default()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user