rustc_target: Move linker_flavor from Target to TargetOptions

This commit is contained in:
Vadim Petrochenkov
2020-10-08 22:22:28 +03:00
parent b294cc71a2
commit d41fe05d1a
159 changed files with 120 additions and 244 deletions

View File

@@ -1,4 +1,4 @@
use crate::spec::{LinkArgs, LinkerFlavor, Target};
use crate::spec::{LinkArgs, Target};
pub fn target() -> Target {
let mut base = super::linux_musl_base::opts();
@@ -28,7 +28,6 @@ pub fn target() -> Target {
)
.to_string(),
arch: "hexagon".to_string(),
linker_flavor: LinkerFlavor::Gcc,
options: base,
}
}