1
Fork 0

Change related spec files to use the new enum

This commit is contained in:
Lzu Tao 2021-01-05 01:13:27 +00:00
parent fa4d8bc878
commit 8ee804dc2b
25 changed files with 50 additions and 37 deletions

View file

@ -1,3 +1,4 @@
use crate::abi::Endian;
use crate::spec::{Target, TargetOptions};
pub fn target() -> Target {
@ -7,7 +8,7 @@ pub fn target() -> Target {
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(),
endian: Endian::Big,
cpu: "mips32r2".to_string(),
features: "+mips32r2,+soft-float".to_string(),
max_atomic_width: Some(32),