rustc_target: Move target_env from Target to TargetOptions
This commit is contained in:
@@ -6,7 +6,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(),
|
||||
target_env: "uclibc".to_string(),
|
||||
target_vendor: "unknown".to_string(),
|
||||
linker_flavor: LinkerFlavor::Gcc,
|
||||
|
||||
@@ -16,7 +15,7 @@ pub fn target() -> Target {
|
||||
max_atomic_width: Some(32),
|
||||
target_mcount: "_mcount".to_string(),
|
||||
|
||||
..super::linux_base::opts()
|
||||
..super::linux_uclibc_base::opts()
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user