20 lines
689 B
Rust
20 lines
689 B
Rust
use super::apple_sdk_base::{opts, Arch};
|
|
use crate::spec::{StackProbeType, Target, TargetOptions};
|
|
|
|
pub fn target() -> Target {
|
|
let base = opts("ios", Arch::X86_64_macabi);
|
|
Target {
|
|
llvm_target: "x86_64-apple-ios13.0-macabi".to_string(),
|
|
pointer_width: 64,
|
|
data_layout: "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
|
|
.to_string(),
|
|
arch: "x86_64".to_string(),
|
|
options: TargetOptions {
|
|
max_atomic_width: Some(64),
|
|
// don't use probe-stack=inline-asm until rust#83139 and rust#84667 are resolved
|
|
stack_probes: StackProbeType::Call,
|
|
..base
|
|
},
|
|
}
|
|
}
|