Skip to content

Commit bd42e12

Browse files
committed
Set armv7-none to use strict alignment
1 parent d8cc8dc commit bd42e12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_target/spec/armv7_none_eabihf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pub fn target() -> TargetResult {
2222
linker_flavor: LinkerFlavor::Lld(LldFlavor::Ld),
2323

2424
options: TargetOptions {
25-
features: "+v7,+vfp3,+d16,+thumb2,-neon".to_string(),
25+
features: "+strict-align,+v7,+vfp3,+d16,+thumb2,-neon".to_string(),
2626
linker: Some("rust-lld".to_owned()),
2727
executables: true,
2828
relocation_model: "static".to_string(),

0 commit comments

Comments
 (0)