rustc_target: Move linker_flavor
from Target
to TargetOptions
This commit is contained in:
parent
b294cc71a2
commit
d41fe05d1a
159 changed files with 120 additions and 244 deletions
|
@ -1,4 +1,4 @@
|
|||
use crate::spec::{LinkerFlavor, Target, TargetOptions};
|
||||
use crate::spec::{Target, TargetOptions};
|
||||
|
||||
pub fn target() -> Target {
|
||||
Target {
|
||||
|
@ -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(),
|
||||
linker_flavor: LinkerFlavor::Gcc,
|
||||
|
||||
options: TargetOptions {
|
||||
cpu: "mips32r6".to_string(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue