Skip to content

Commit 7159f04

Browse files
committed
Fix busted data_layout (mismatch vs LLVM) in x86_64 tvOS simulator target
1 parent aebaae1 commit 7159f04

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/rustc_target/src/spec/x86_64_apple_tvos.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ pub fn target() -> Target {
66
Target {
77
llvm_target: "x86_64-apple-tvos".into(),
88
pointer_width: 64,
9-
data_layout: "e-m:o-i64:64-f80:128-n8:16:32:64-S128".into(),
9+
data_layout: "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
10+
.into(),
1011
arch: arch.target_arch(),
1112
options: TargetOptions {
1213
max_atomic_width: Some(64),

0 commit comments

Comments
 (0)