1 use crate::spec
::{LinkerFlavor, Target, TargetOptions, TargetResult}
;
2 use super::apple_ios_base
::{opts, Arch}
;
4 pub fn target() -> TargetResult
{
5 let base
= opts(Arch
::Arm64
)?
;
7 llvm_target
: "arm64-apple-ios".to_string(),
8 target_endian
: "little".to_string(),
9 target_pointer_width
: "64".to_string(),
10 target_c_int_width
: "32".to_string(),
11 data_layout
: "e-m:o-i64:64-i128:128-n32:64-S128".to_string(),
12 arch
: "aarch64".to_string(),
13 target_os
: "ios".to_string(),
14 target_env
: String
::new(),
15 target_vendor
: "apple".to_string(),
16 linker_flavor
: LinkerFlavor
::Gcc
,
17 options
: TargetOptions
{
18 features
: "+neon,+fp-armv8,+cyclone".to_string(),
19 eliminate_frame_pointer
: false,
20 max_atomic_width
: Some(128),
21 abi_blacklist
: super::arm_base
::abi_blacklist(),