]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_target/src/spec/armv7_unknown_linux_gnueabi.rs
Update targets to use target_abi
[rust.git] / compiler / rustc_target / src / spec / armv7_unknown_linux_gnueabi.rs
index f6fe88de37cf6958cf4dc279bd6c9f7f5573f36d..0a3b8033dd17ccd58497a497ed6619248afceb04 100644 (file)
@@ -4,19 +4,17 @@
 // hardfloat.
 
 pub fn target() -> Target {
-    let base = super::linux_gnu_base::opts();
     Target {
         llvm_target: "armv7-unknown-linux-gnueabi".to_string(),
         pointer_width: 32,
         data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
         arch: "arm".to_string(),
-
         options: TargetOptions {
+            abi: "eabi".to_string(),
             features: "+v7,+thumb2,+soft-float,-neon".to_string(),
             max_atomic_width: Some(64),
-            unsupported_abis: super::arm_base::unsupported_abis(),
             mcount: "\u{1}__gnu_mcount_nc".to_string(),
-            ..base
+            ..super::linux_gnu_base::opts()
         },
     }
 }