]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_target/src/spec/x86_64_apple_ios.rs
Merge commit '5ff7b632a95bac6955611d85040859128902c580' into sync-rustfmt-subtree
[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     Target {
7         llvm_target: super::apple_base::ios_sim_llvm_target("x86_64"),
8         pointer_width: 64,
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             .to_string(),
11         arch: "x86_64".to_string(),
12         options: TargetOptions {
13             max_atomic_width: Some(64),
14             // don't use probe-stack=inline-asm until rust#83139 and rust#84667 are resolved
15             stack_probes: StackProbeType::Call,
16             ..base
17         },
18     }
19 }