]> git.proxmox.com Git - rustc.git/blame - compiler/rustc_target/src/spec/i386_apple_ios.rs
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / compiler / rustc_target / src / spec / i386_apple_ios.rs
CommitLineData
1b1a35ee 1use super::apple_sdk_base::{opts, Arch};
5869c6ff 2use crate::spec::{StackProbeType, Target, TargetOptions};
1a4d82fc 3
29967ef6
XL
4pub 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),
6a06907d 15 stack_probes: StackProbeType::InlineOrCall { min_llvm_version_for_inline: (11, 0, 1) },
5869c6ff
XL
16 ..base
17 },
29967ef6 18 }
1a4d82fc 19}