Skip to content

Commit 2d709cc

Browse files
committed
build(windows/gnu): use lld as the default linker
1 parent 0011afb commit 2d709cc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.cargo/config.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
[alias]
22
dev-install = "run -- --no-modify-path -y"
33

4+
[target.x86_64-pc-windows-gnu]
5+
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
6+
7+
[target.i686-pc-windows-gnu]
8+
rustflags = ["-C", "link-arg=-fuse-ld=lld"]

0 commit comments

Comments
 (0)