]>
Commit | Line | Data |
---|---|---|
1b1a35ee | 1 | use super::apple_sdk_base::{opts, Arch}; |
5869c6ff | 2 | use crate::spec::{StackProbeType, Target, TargetOptions}; |
1a4d82fc | 3 | |
29967ef6 XL |
4 | pub fn target() -> Target { |
5 | let base = opts("ios", Arch::I386); | |
6 | Target { | |
1a4d82fc | 7 | llvm_target: "i386-apple-ios".to_string(), |
29967ef6 | 8 | pointer_width: 32, |
dfeec247 XL |
9 | data_layout: "e-m:o-p:32:32-p270:32:32-p271:32:32-p272:64:64-\ |
10 | f64:32:64-f80:128-n8:16:32-S128" | |
11 | .to_string(), | |
1a4d82fc | 12 | arch: "x86".to_string(), |
5869c6ff XL |
13 | options: TargetOptions { |
14 | max_atomic_width: Some(64), | |
36d6ef2b XL |
15 | // don't use probe-stack=inline-asm until rust#83139 and rust#84667 are resolved |
16 | stack_probes: StackProbeType::Call, | |
5869c6ff XL |
17 | ..base |
18 | }, | |
29967ef6 | 19 | } |
1a4d82fc | 20 | } |