]> git.proxmox.com Git - rustc.git/blob - compiler/rustc_target/src/spec/aarch64_apple_tvos.rs
New upstream version 1.55.0+dfsg1
[rustc.git] / compiler / rustc_target / src / spec / aarch64_apple_tvos.rs
1 use super::apple_sdk_base::{opts, Arch};
2 use crate::spec::{FramePointer, Target, TargetOptions};
3
4 pub fn target() -> Target {
5 Target {
6 llvm_target: "arm64-apple-tvos".to_string(),
7 pointer_width: 64,
8 data_layout: "e-m:o-i64:64-i128:128-n32:64-S128".to_string(),
9 arch: "aarch64".to_string(),
10 options: TargetOptions {
11 features: "+neon,+fp-armv8,+apple-a7".to_string(),
12 max_atomic_width: Some(128),
13 forces_embed_bitcode: true,
14 frame_pointer: FramePointer::NonLeaf,
15 ..opts("tvos", Arch::Arm64)
16 },
17 }
18 }