]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_target/src/spec/mips64_unknown_linux_muslabi64.rs
Rollup merge of #79849 - Digital-Chaos:sleep-zero, r=m-ou-se
[rust.git] / compiler / rustc_target / src / spec / mips64_unknown_linux_muslabi64.rs
index db8d0c04e6f5c269e8d3d75376aadd31eab7bfcb..329fbd22721770d0b62560d7b4f6f0f5167f114d 100644 (file)
@@ -1,3 +1,4 @@
+use crate::abi::Endian;
 use crate::spec::{Target, TargetOptions};
 
 pub fn target() -> Target {
@@ -11,6 +12,6 @@ pub fn target() -> Target {
         pointer_width: 64,
         data_layout: "E-m:e-i8:8:32-i16:16:32-i64:64-n32:64-S128".to_string(),
         arch: "mips64".to_string(),
-        options: TargetOptions { endian: "big".to_string(), mcount: "_mcount".to_string(), ..base },
+        options: TargetOptions { endian: Endian::Big, mcount: "_mcount".to_string(), ..base },
     }
 }