From 74db5e2a5bf14b5c997b391dafb0c425fd3eb7ae Mon Sep 17 00:00:00 2001 From: Nicholas Rishel Date: Wed, 12 Aug 2020 16:44:22 -0700 Subject: [PATCH] -Clinker=lld was overwriting linker="lld-link.exe"; having both is unnecessary. Using the bundled lld (rust-lld) for Windows. --- .cargo/config_fast_builds | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.cargo/config_fast_builds b/.cargo/config_fast_builds index fa492453fa443..71ae452ac4205 100644 --- a/.cargo/config_fast_builds +++ b/.cargo/config_fast_builds @@ -10,8 +10,6 @@ rustflags = ["-Clink-arg=-fuse-ld=lld", "-Zshare-generics=y"] [target.x86_64-apple-darwin] rustflags = ["-Zshare-generics=y"] -# NOTE: you must manually install lld on windows. you can easily do this with the "scoop" package manager: -# `scoop install llvm` [target.x86_64-pc-windows-msvc] -linker = "lld-link.exe" -rustflags = ["-Clinker=lld", "-Zshare-generics=y"] \ No newline at end of file +linker = "rust-lld.exe" +rustflags = ["-Zshare-generics=y"] \ No newline at end of file