Change related spec files to use the new enum
This commit is contained in:
@@ -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: 32,
|
||||
data_layout: "E-m:m-p:32:32-i8:8:32-i16:16:32-i64:64-n32-S64".to_string(),
|
||||
arch: "mips".to_string(),
|
||||
options: TargetOptions { endian: "big".to_string(), mcount: "_mcount".to_string(), ..base },
|
||||
options: TargetOptions { endian: Endian::Big, mcount: "_mcount".to_string(), ..base },
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user