]>
Commit | Line | Data |
---|---|---|
1b1a35ee | 1 | use super::apple_sdk_base::{opts, Arch}; |
5869c6ff | 2 | use crate::spec::{StackProbeType, Target, TargetOptions}; |
e1599b0c | 3 | |
29967ef6 XL |
4 | pub fn target() -> Target { |
5 | let base = opts("ios", Arch::X86_64_macabi); | |
6 | Target { | |
e1599b0c | 7 | llvm_target: "x86_64-apple-ios13.0-macabi".to_string(), |
29967ef6 | 8 | pointer_width: 64, |
dfeec247 XL |
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(), | |
e1599b0c | 11 | arch: "x86_64".to_string(), |
5869c6ff XL |
12 | options: TargetOptions { |
13 | max_atomic_width: Some(64), | |
36d6ef2b XL |
14 | // don't use probe-stack=inline-asm until rust#83139 and rust#84667 are resolved |
15 | stack_probes: StackProbeType::Call, | |
5869c6ff XL |
16 | ..base |
17 | }, | |
29967ef6 | 18 | } |
e1599b0c | 19 | } |