File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -397,7 +397,7 @@ supported_targets! {
397
397
( "thumbv7m-none-eabi" , thumbv7m_none_eabi) ,
398
398
( "thumbv7em-none-eabi" , thumbv7em_none_eabi) ,
399
399
( "thumbv7em-none-eabihf" , thumbv7em_none_eabihf) ,
400
- ( "thumbv8m-none-eabi" , thumbv8m_none_eabi ) ,
400
+ ( "thumbv8m.base -none-eabi" , thumbv8m_base_none_eabi ) ,
401
401
402
402
( "msp430-none-elf" , msp430_none_elf) ,
403
403
Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ pub fn target() -> TargetResult {
26
26
linker_flavor : LinkerFlavor :: Lld ( LldFlavor :: Ld ) ,
27
27
28
28
options : TargetOptions {
29
+ // ARMv8-M baseline doesn't support unaligned loads/stores so we disable them
30
+ // with +strict-align.
31
+ features : "+strict-align" . to_string ( ) ,
29
32
max_atomic_width : Some ( 32 ) ,
30
33
.. super :: thumb_base:: opts ( )
31
34
} ,
You can’t perform that action at this time.
0 commit comments