]> git.proxmox.com Git - rustc.git/blame - compiler/rustc_target/src/spec/x86_64_apple_ios.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / compiler / rustc_target / src / spec / x86_64_apple_ios.rs
CommitLineData
1b1a35ee 1use super::apple_sdk_base::{opts, Arch};
5869c6ff 2use crate::spec::{StackProbeType, Target, TargetOptions};
85aaf69f 3
29967ef6
XL
4pub fn target() -> Target {
5 let base = opts("ios", Arch::X86_64);
5e7ed085
FG
6 let llvm_target = super::apple_base::ios_sim_llvm_target("x86_64");
7
29967ef6 8 Target {
5e7ed085 9 llvm_target: llvm_target.into(),
29967ef6 10 pointer_width: 64,
dfeec247 11 data_layout: "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
5e7ed085
FG
12 .into(),
13 arch: "x86_64".into(),
5869c6ff
XL
14 options: TargetOptions {
15 max_atomic_width: Some(64),
2b03887a 16 stack_probes: StackProbeType::X86,
5869c6ff
XL
17 ..base
18 },
29967ef6 19 }
85aaf69f 20}