1 use super::apple_sdk_base::{opts, Arch};
2 use crate::spec::{Target, TargetOptions};
4 pub fn target() -> Target {
5 let base = opts("watchos", Arch::Armv7k);
7 llvm_target: "armv7k-apple-watchos".into(),
9 data_layout: "e-m:o-p:32:32-Fi8-i64:64-a:0:32-n32-S128".into(),
11 options: TargetOptions {
12 features: "+v7,+vfp4,+neon".into(),
13 max_atomic_width: Some(64),
14 forces_embed_bitcode: true,
15 // These arguments are not actually invoked - they just have
16 // to look right to pass App Store validation.
17 bitcode_llvm_cmdline: "-triple\0\
18 armv7k-apple-watchos3.0.0\0\
20 -disable-llvm-passes\0\