Skip to content

Commit c20b710

Browse files
Fix imports
1 parent 7574eee commit c20b710

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_target/src/spec/aarch64_unknown_uefi.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// LLVM. "aarch64-unknown-windows" is used to get the minimal subset of windows-specific features.
77

88
use super::uefi_msvc_base;
9-
use crate::spec::{CodeModel, Target};
9+
use crate::spec::{CodeModel, LinkerFlavor, LldFlavor, Target};
1010

1111
pub fn target() -> Target {
1212
let mut base = uefi_msvc_base::opts();
@@ -26,7 +26,7 @@ pub fn target() -> Target {
2626
// arguments, thus giving you access to full MMX/SSE acceleration.
2727
base.features = "-mmx,-sse,+soft-float".to_string();
2828

29-
let pre_link_args_msvc = vec!["/machine:arm64"];
29+
let pre_link_args_msvc = vec!["/machine:arm64".to_string()];
3030

3131
base.pre_link_args.get_mut(&LinkerFlavor::Msvc).unwrap().extend(pre_link_args_msvc.clone());
3232
base.pre_link_args

0 commit comments

Comments
 (0)