]> git.proxmox.com Git - rustc.git/blame - compiler/rustc_target/src/spec/x86_64_apple_tvos.rs
New upstream version 1.52.0+dfsg1
[rustc.git] / compiler / rustc_target / src / spec / x86_64_apple_tvos.rs
CommitLineData
1b1a35ee 1use super::apple_sdk_base::{opts, Arch};
5869c6ff 2use crate::spec::{StackProbeType, Target, TargetOptions};
ba9703b0 3
29967ef6
XL
4pub fn target() -> Target {
5 let base = opts("tvos", Arch::X86_64);
6 Target {
ba9703b0 7 llvm_target: "x86_64-apple-tvos".to_string(),
29967ef6 8 pointer_width: 64,
ba9703b0
XL
9 data_layout: "e-m:o-i64:64-f80:128-n8:16:32:64-S128".to_string(),
10 arch: "x86_64".to_string(),
5869c6ff
XL
11 options: TargetOptions {
12 max_atomic_width: Some(64),
36d6ef2b
XL
13 // don't use probe-stack=inline-asm until rust#83139 and rust#84667 are resolved
14 stack_probes: StackProbeType::Call,
5869c6ff
XL
15 ..base
16 },
29967ef6 17 }
ba9703b0 18}