]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_target/src/spec/armv7_wrs_vxworks_eabihf.rs
Rollup merge of #82497 - jyn514:json, r=CraftSpider
[rust.git] / compiler / rustc_target / src / spec / armv7_wrs_vxworks_eabihf.rs
1 use crate::spec::{Target, TargetOptions};
2
3 pub fn target() -> Target {
4     let base = super::vxworks_base::opts();
5     Target {
6         llvm_target: "armv7-unknown-linux-gnueabihf".to_string(),
7         pointer_width: 32,
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(),
10         options: TargetOptions {
11             // Info about features at https://wiki.debian.org/ArmHardFloatPort
12             features: "+v7,+vfp3,-d32,+thumb2,-neon".to_string(),
13             max_atomic_width: Some(64),
14             unsupported_abis: super::arm_base::unsupported_abis(),
15             ..base
16         },
17     }
18 }