Add new tier 3 aarch64-apple-watchos target
This commit is contained in:
parent
8681e077b8
commit
e57294c139
4 changed files with 24 additions and 0 deletions
|
@ -1578,6 +1578,7 @@ supported_targets! {
|
|||
("armv7k-apple-watchos", armv7k_apple_watchos),
|
||||
("arm64_32-apple-watchos", arm64_32_apple_watchos),
|
||||
("x86_64-apple-watchos-sim", x86_64_apple_watchos_sim),
|
||||
("aarch64-apple-watchos", aarch64_apple_watchos),
|
||||
("aarch64-apple-watchos-sim", aarch64_apple_watchos_sim),
|
||||
|
||||
("armebv7r-none-eabi", armebv7r_none_eabi),
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
use crate::spec::base::apple::{opts, Arch};
|
||||
use crate::spec::{Target, TargetOptions};
|
||||
|
||||
pub fn target() -> Target {
|
||||
let base = opts("watchos", Arch::Arm64);
|
||||
Target {
|
||||
llvm_target: "aarch-apple-watchos".into(),
|
||||
pointer_width: 64,
|
||||
data_layout: "e-m:o-i64:64-i128:128-n32:64-S128".into(),
|
||||
arch: "aarch64".into(),
|
||||
options: TargetOptions {
|
||||
features: "+v8a,+neon,+fp-armv8,+apple-a7".into(),
|
||||
max_atomic_width: Some(128),
|
||||
dynamic_linking: false,
|
||||
position_independent_executables: true,
|
||||
..base
|
||||
},
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue