]> git.proxmox.com Git - rustc.git/blobdiff - src/librustc_back/target/mips_unknown_linux_musl.rs
New upstream version 1.12.0+dfsg1
[rustc.git] / src / librustc_back / target / mips_unknown_linux_musl.rs
index 35366659d581ffa03e6fb5646b2d30b98d4be4dd..4a69bce53bc978a5a6c6b9a9ddbcf7f38ed4c107 100644 (file)
@@ -8,10 +8,10 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-use target::{Target, TargetOptions};
+use target::{Target, TargetOptions, TargetResult};
 
-pub fn target() -> Target {
-    Target {
+pub fn target() -> TargetResult {
+    Ok(Target {
         llvm_target: "mips-unknown-linux-musl".to_string(),
         target_endian: "big".to_string(),
         target_pointer_width: "32".to_string(),
@@ -26,5 +26,5 @@ pub fn target() -> Target {
             max_atomic_width: 32,
             ..super::linux_base::opts()
         }
-    }
+    })
 }