diff --git a/.cargo/config_fast_builds b/.cargo/config_fast_builds index 2c06ff3d43..6f1151e5bc 100644 --- a/.cargo/config_fast_builds +++ b/.cargo/config_fast_builds @@ -1,3 +1,9 @@ [target.x86_64-unknown-linux-gnu] linker = "/usr/bin/clang" -rustflags = ["-Clink-arg=-fuse-ld=lld", "-Zshare-generics=y"] \ No newline at end of file +rustflags = ["-Clink-arg=-fuse-ld=lld", "-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