Skip to content

Commit 821d0f0

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

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.cargo/config.toml

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
[alias]
22
dev-install = "run -- --no-modify-path -y"
33

4+
[target.x86_64-pc-windows-gnu]
5+
linker = "ld.lld.exe"
6+
rustflags = ["-C", "link-self-contained=no", "-C", "link-arg=-fuse-ld=lld"]
7+
8+
[target.i686-pc-windows-gnu]
9+
linker = "ld.lld.exe"
10+
rustflags = ["-C", "link-self-contained=no", "-C", "link-arg=-fuse-ld=lld"]

0 commit comments

Comments
 (0)