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
|
@ -8,7 +8,6 @@ pub fn target() -> Target {
|
|||
|
||||
Target {
|
||||
llvm_target: "powerpc64-unknown-linux-musl".to_string(),
|
||||
target_endian: "big".to_string(),
|
||||
pointer_width: 64,
|
||||
data_layout: "E-m:e-i64:64-n32:64".to_string(),
|
||||
arch: "powerpc64".to_string(),
|
||||
|
@ -16,6 +15,10 @@ pub fn target() -> Target {
|
|||
target_env: "musl".to_string(),
|
||||
target_vendor: "unknown".to_string(),
|
||||
linker_flavor: LinkerFlavor::Gcc,
|
||||
options: TargetOptions { target_mcount: "_mcount".to_string(), ..base },
|
||||
options: TargetOptions {
|
||||
target_endian: "big".to_string(),
|
||||
target_mcount: "_mcount".to_string(),
|
||||
..base
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue