Fix busted data_layout (mismatch vs LLVM) in x86_64 tvOS simulator target

This commit is contained in:
Thom Chiovoloni 2023-03-14 20:03:21 -07:00
parent f978d7ea42
commit 3785a17dd9
No known key found for this signature in database

View File

@ -6,7 +6,8 @@ pub fn target() -> Target {
Target { Target {
llvm_target: "x86_64-apple-tvos".into(), llvm_target: "x86_64-apple-tvos".into(),
pointer_width: 64, 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(), arch: arch.target_arch(),
options: TargetOptions { options: TargetOptions {
max_atomic_width: Some(128), max_atomic_width: Some(128),