]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_target/src/spec/aarch64_apple_tvos.rs
Merge commit '98e2b9f25b6db4b2680a3d388456d9f95cb28344' into clippyup
[rust.git] / compiler / rustc_target / src / spec / aarch64_apple_tvos.rs
1 use super::apple_sdk_base::{opts, Arch};
2 use crate::spec::{Target, TargetOptions};
3
4 pub fn target() -> Target {
5     let base = opts("tvos", Arch::Arm64);
6     Target {
7         llvm_target: "arm64-apple-tvos".to_string(),
8         pointer_width: 64,
9         data_layout: "e-m:o-i64:64-i128:128-n32:64-S128".to_string(),
10         arch: "aarch64".to_string(),
11         options: TargetOptions {
12             features: "+neon,+fp-armv8,+apple-a7".to_string(),
13             eliminate_frame_pointer: false,
14             max_atomic_width: Some(128),
15             unsupported_abis: super::arm_base::unsupported_abis(),
16             forces_embed_bitcode: true,
17             ..base
18         },
19     }
20 }