]> git.proxmox.com Git - rustc.git/blame - compiler/rustc_target/src/spec/x86_64_apple_ios_macabi.rs
New upstream version 1.69.0+dfsg1
[rustc.git] / compiler / rustc_target / src / spec / x86_64_apple_ios_macabi.rs
CommitLineData
487cf647 1use super::apple_base::{opts, Arch};
2b03887a 2use crate::spec::{Cc, LinkerFlavor, Lld, StackProbeType, Target, TargetOptions};
e1599b0c 3
29967ef6 4pub fn target() -> Target {
9ffffee4 5 let llvm_target = "x86_64-apple-ios-macabi";
064997fb 6
487cf647
FG
7 let arch = Arch::X86_64_macabi;
8 let mut base = opts("ios", arch);
2b03887a 9 base.add_pre_link_args(LinkerFlavor::Darwin(Cc::Yes, Lld::No), &["-target", llvm_target]);
064997fb 10
29967ef6 11 Target {
064997fb 12 llvm_target: llvm_target.into(),
29967ef6 13 pointer_width: 64,
dfeec247 14 data_layout: "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
5e7ed085 15 .into(),
487cf647 16 arch: arch.target_arch(),
5869c6ff
XL
17 options: TargetOptions {
18 max_atomic_width: Some(64),
2b03887a 19 stack_probes: StackProbeType::X86,
5869c6ff
XL
20 ..base
21 },
29967ef6 22 }
e1599b0c 23}