Skip to content

Commit 8d71463

Browse files
committed
Switch x64 windows msvc target to use lld by default.
1 parent 0beba93 commit 8d71463

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_target/src/spec/x86_64_pc_windows_msvc.rs

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ pub fn target() -> Target {
55
base.cpu = "x86-64".to_string();
66
base.max_atomic_width = Some(64);
77
base.has_elf_tls = true;
8+
base.linker = Some("rust-lld".to_string());
89

910
Target {
1011
llvm_target: "x86_64-pc-windows-msvc".to_string(),

0 commit comments

Comments
 (0)