]>
Commit | Line | Data |
---|---|---|
29967ef6 | 1 | use crate::spec::{Target, TargetOptions}; |
416331ca | 2 | |
29967ef6 | 3 | pub fn target() -> Target { |
416331ca | 4 | let base = super::vxworks_base::opts(); |
29967ef6 | 5 | Target { |
416331ca | 6 | llvm_target: "armv7-unknown-linux-gnueabihf".to_string(), |
29967ef6 | 7 | pointer_width: 32, |
416331ca XL |
8 | data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(), |
9 | arch: "arm".to_string(), | |
416331ca XL |
10 | options: TargetOptions { |
11 | // Info about features at https://wiki.debian.org/ArmHardFloatPort | |
12 | features: "+v7,+vfp3,-d32,+thumb2,-neon".to_string(), | |
416331ca | 13 | max_atomic_width: Some(64), |
f035d41b | 14 | unsupported_abis: super::arm_base::unsupported_abis(), |
dfeec247 XL |
15 | ..base |
16 | }, | |
29967ef6 | 17 | } |
416331ca | 18 | } |