rustc_target: Move target_endian
from Target
to TargetOptions
This commit is contained in:
parent
ffe65f825b
commit
91533cf10e
152 changed files with 75 additions and 168 deletions
|
@ -3,7 +3,6 @@ use crate::spec::{LinkerFlavor, Target, TargetOptions};
|
|||
pub fn target() -> Target {
|
||||
Target {
|
||||
llvm_target: "mips-unknown-linux-uclibc".to_string(),
|
||||
target_endian: "big".to_string(),
|
||||
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(),
|
||||
|
@ -12,6 +11,7 @@ pub fn target() -> Target {
|
|||
target_vendor: "unknown".to_string(),
|
||||
linker_flavor: LinkerFlavor::Gcc,
|
||||
options: TargetOptions {
|
||||
target_endian: "big".to_string(),
|
||||
cpu: "mips32r2".to_string(),
|
||||
features: "+mips32r2,+soft-float".to_string(),
|
||||
max_atomic_width: Some(32),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue