Skip to content

Commit

Permalink
Fix busted data_layout (mismatch vs LLVM) in x86_64 tvOS simulator ta…
Browse files Browse the repository at this point in the history
…rget
  • Loading branch information
thomcc committed Mar 15, 2023
1 parent aebaae1 commit 7159f04
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compiler/rustc_target/src/spec/x86_64_apple_tvos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ pub fn target() -> Target {
Target {
llvm_target: "x86_64-apple-tvos".into(),
pointer_width: 64,
data_layout: "e-m:o-i64:64-f80:128-n8:16:32:64-S128".into(),
data_layout: "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
.into(),
arch: arch.target_arch(),
options: TargetOptions {
max_atomic_width: Some(64),
Expand Down

0 comments on commit 7159f04

Please sign in to comment.