1 use crate::spec::{SanitizerSet, Target, TargetOptions};
3 pub fn target() -> Target {
5 llvm_target: "arm-linux-androideabi".to_string(),
7 data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
8 arch: "arm".to_string(),
9 options: TargetOptions {
10 abi: "eabi".to_string(),
11 // https://developer.android.com/ndk/guides/abis.html#armeabi
12 features: "+strict-align,+v5te".to_string(),
13 supported_sanitizers: SanitizerSet::ADDRESS,
14 max_atomic_width: Some(32),
15 ..super::android_base::opts()