mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
add windows lld config
This commit is contained in:
parent
4d8a567b36
commit
5d40bddf6c
1 changed files with 7 additions and 1 deletions
|
@ -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"]
|
Loading…
Reference in a new issue