Skip to content

Commit c3e6e11

Browse files
committed
update some more target layouts
1 parent eea90b1 commit c3e6e11

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

compiler/rustc_target/src/spec/targets/aarch64_apple_darwin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pub fn target() -> Target {
2222
std: None,
2323
},
2424
pointer_width: 64,
25-
data_layout: "e-m:o-i64:64-i128:128-n32:64-S128".into(),
25+
data_layout: "e-m:o-i64:64-i128:128-n32:64-S128-Fn32".into(),
2626
arch: arch.target_arch(),
2727
options: TargetOptions {
2828
mcount: "\u{1}mcount".into(),

compiler/rustc_target/src/spec/targets/aarch64_pc_windows_msvc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub fn target() -> Target {
1414
std: None,
1515
},
1616
pointer_width: 64,
17-
data_layout: "e-m:w-p:64:64-i32:32-i64:64-i128:128-n32:64-S128".into(),
17+
data_layout: "e-m:w-p:64:64-i32:32-i64:64-i128:128-n32:64-S128-Fn32".into(),
1818
arch: "aarch64".into(),
1919
options: base,
2020
}

compiler/rustc_target/src/spec/targets/aarch64_unknown_none.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pub fn target() -> Target {
3838
std: None,
3939
},
4040
pointer_width: 64,
41-
data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".into(),
41+
data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128-Fn32".into(),
4242
arch: "aarch64".into(),
4343
options: opts,
4444
}

0 commit comments

Comments
 (0)