]> git.proxmox.com Git - rustc.git/blame - compiler/rustc_target/src/spec/armv7_wrs_vxworks_eabihf.rs
New upstream version 1.54.0+dfsg1
[rustc.git] / compiler / rustc_target / src / spec / armv7_wrs_vxworks_eabihf.rs
CommitLineData
29967ef6 1use crate::spec::{Target, TargetOptions};
416331ca 2
29967ef6 3pub 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}