14 lines
527 B
Diff
14 lines
527 B
Diff
--- a/compiler/rustc_target/src/spec/base/uefi_msvc.rs
|
|
+++ b/compiler/rustc_target/src/spec/base/uefi_msvc.rs
|
|
@@ -45,7 +45,9 @@
|
|
// "Windows".
|
|
stack_probes: StackProbeType::Call,
|
|
singlethread: true,
|
|
- linker: Some("rust-lld".into()),
|
|
+ // Use the system LLD frontend name. Distro/toolchain builds that use an external LLVM
|
|
+ // often do not ship a `rust-lld` wrapper binary.
|
|
+ linker: Some("lld-link".into()),
|
|
entry_name: "efi_main".into(),
|
|
..base
|
|
}
|