Skip to content

Commit

Permalink
build(windows/gnu): use lld as the default linker
Browse files Browse the repository at this point in the history
  • Loading branch information
rami3l committed Jun 2, 2024
1 parent 0011afb commit 821d0f0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit 821d0f0

Please sign in to comment.