]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_target/src/spec/armv7_unknown_linux_musleabi.rs
New upstream version 1.55.0+dfsg1
[rustc.git] / compiler / rustc_target / src / spec / armv7_unknown_linux_musleabi.rs
index c888fc2d4a389f9fe70345ba58d40d771879ff26..c0fd1de17cfdd976637d85ac763e4b0c04976a26 100644 (file)
@@ -4,7 +4,6 @@ use crate::spec::{Target, TargetOptions};
 // hardfloat.
 
 pub fn target() -> Target {
-    let base = super::linux_musl_base::opts();
     // Most of these settings are copied from the armv7_unknown_linux_gnueabi
     // target.
     Target {
@@ -17,11 +16,11 @@ pub fn target() -> Target {
         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}mcount".to_string(),
-            ..base
+            ..super::linux_musl_base::opts()
         },
     }
 }