Skip to content

Commit

Permalink
add windows lld config
Browse files Browse the repository at this point in the history
  • Loading branch information
cart committed Jun 1, 2020
1 parent 4d8a567 commit 5d40bdd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .cargo/config_fast_builds
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
[target.x86_64-unknown-linux-gnu]
linker = "/usr/bin/clang"
rustflags = ["-Clink-arg=-fuse-ld=lld", "-Zshare-generics=y"]
rustflags = ["-Clink-arg=-fuse-ld=lld", "-Zshare-generics=y"]

# NOTE: you must manually install lld on windows. you can easily do this with the "scoop" package manager:
# `scoop install llvm`
[target.x86_64-pc-windows-msvc]
linker = "lld-link.exe"
rustflags = ["-Clinker=lld", "-Zshare-generics=y"]

0 comments on commit 5d40bdd

Please sign in to comment.