diff --git a/.cargo/config.toml b/.cargo/config.toml index 4691abf309..b77fff5c1e 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -7,3 +7,12 @@ rustflags = [ # "--cfg", "windows_slim_errors", # "-C", "target-feature=+crt-static", ] + +[target.x86_64-pc-windows-msvc] +linker = "rust-lld" + +[target.i686-pc-windows-msvc] +linker = "rust-lld" + +[target.aarch64-pc-windows-msvc] +linker = "rust-lld"