]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_target/src/spec/x86_64_apple_ios.rs
Auto merge of #97800 - pnkfelix:issue-97463-fix-aarch64-call-abi-does-not-zeroext...
[rust.git] / compiler / rustc_target / src / spec / x86_64_apple_ios.rs
1 use super::apple_sdk_base::{opts, Arch};
2 use crate::spec::{StackProbeType, Target, TargetOptions};
3
4 pub fn target() -> Target {
5     let base = opts("ios", Arch::X86_64);
6     let llvm_target = super::apple_base::ios_sim_llvm_target("x86_64");
7
8     Target {
9         llvm_target: llvm_target.into(),
10         pointer_width: 64,
11         data_layout: "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
12             .into(),
13         arch: "x86_64".into(),
14         options: TargetOptions {
15             max_atomic_width: Some(64),
16             // don't use probe-stack=inline-asm until rust#83139 and rust#84667 are resolved
17             stack_probes: StackProbeType::Call,
18             ..base
19         },
20     }
21 }