Skip to content

Commit cd388d9

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

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-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
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- compiler/rustc_target/src/spec/targets/aarch64_unknown_linux_gnu.rs
2+
+++ compiler/rustc_target/src/spec/targets/aarch64_unknown_linux_gnu.rs
3+
@@ -10,7 +10,7 @@ pub fn target() -> Target {
4+
std: None,
5+
},
6+
pointer_width: 64,
7+
- data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".into(),
8+
+ data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128-Fn32".into(),
9+
arch: "aarch64".into(),
10+
options: TargetOptions {
11+
features: "+v8a,+outline-atomics".into(),

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)