diff --git a/.cargo/config.toml b/.cargo/config.toml index d7945d088..4d90762d4 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,2 +1,8 @@ [target.'cfg(target_arch="aarch64")'] rustflags = ["--cfg", "aes_armv8"] + +[target.x86_64-pc-windows-msvc] +rustflags = ["-C", "link-arg=-fuse-ld=lld"] + +[target.x86_64-pc-windows-gnu] +rustflags = ["-C", "link-arg=-fuse-ld=lld"]