]>
Commit | Line | Data |
---|---|---|
29967ef6 | 1 | use crate::spec::{PanicStrategy, Target, TargetOptions}; |
f9f354fc | 2 | |
29967ef6 | 3 | pub fn target() -> Target { |
29967ef6 | 4 | Target { |
f9f354fc | 5 | llvm_target: "thumbv7a-pc-windows-msvc".to_string(), |
29967ef6 | 6 | pointer_width: 32, |
f9f354fc XL |
7 | data_layout: "e-m:w-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(), |
8 | arch: "arm".to_string(), | |
f9f354fc XL |
9 | options: TargetOptions { |
10 | features: "+vfp3,+neon".to_string(), | |
136023e0 | 11 | max_atomic_width: Some(64), |
136023e0 XL |
12 | // FIXME(jordanrh): use PanicStrategy::Unwind when SEH is |
13 | // implemented for windows/arm in LLVM | |
14 | panic_strategy: PanicStrategy::Abort, | |
15 | ..super::windows_uwp_msvc_base::opts() | |
f9f354fc | 16 | }, |
29967ef6 | 17 | } |
f9f354fc | 18 | } |