build: Switch to linking with LLD on Windows

This commit is contained in:
TÖRÖK Attila 2024-02-26 21:28:07 +01:00
parent ee0c1f42ff
commit 893a4962de
1 changed files with 5 additions and 0 deletions

View File

@ -5,3 +5,8 @@ rustflags = [
# and our web code does not compile without this flag
"--cfg=web_sys_unstable_apis",
]
[target.x86_64-pc-windows-msvc]
# Use the LLD linker, it should be faster than the default.
# See: https://github.com/rust-lang/rust/issues/71520
linker = "rust-lld.exe"