]> git.proxmox.com Git - rustc.git/blame - vendor/rustc-ap-rustc_target/src/spec/x86_64_apple_tvos.rs
New upstream version 1.52.1+dfsg1
[rustc.git] / vendor / rustc-ap-rustc_target / src / spec / x86_64_apple_tvos.rs
CommitLineData
f20569fa
XL
1use super::apple_sdk_base::{opts, Arch};
2use crate::spec::{StackProbeType, Target, TargetOptions};
3
4pub fn target() -> Target {
5 let base = opts("tvos", Arch::X86_64);
6 Target {
7 llvm_target: "x86_64-apple-tvos".to_string(),
8 pointer_width: 64,
9 data_layout: "e-m:o-i64:64-f80:128-n8:16:32:64-S128".to_string(),
10 arch: "x86_64".to_string(),
11 options: TargetOptions {
12 max_atomic_width: Some(64),
13 stack_probes: StackProbeType::InlineOrCall { min_llvm_version_for_inline: (11, 0, 1) },
14 ..base
15 },
16 }
17}