diff --git a/.cargo/config.toml b/.cargo/config.toml index 610dd9189fb..a50118a61eb 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,3 +1,10 @@ [alias] dev-install = "run -- --no-modify-path -y" +[target.x86_64-pc-windows-gnu] +linker = "ld.lld.exe" +rustflags = ["-C", "link-self-contained=no", "-C", "link-arg=-fuse-ld=lld"] + +[target.i686-pc-windows-gnu] +linker = "ld.lld.exe" +rustflags = ["-C", "link-self-contained=no", "-C", "link-arg=-fuse-ld=lld"]