mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
make "fast build" config 40% faster on mac (#312)
This commit is contained in:
parent
7b6fbcb932
commit
986dd67cc8
1 changed files with 3 additions and 1 deletions
|
@ -7,8 +7,10 @@
|
|||
linker = "/usr/bin/clang"
|
||||
rustflags = ["-Clink-arg=-fuse-ld=lld", "-Zshare-generics=y"]
|
||||
|
||||
# NOTE: you must manually install https://github.com/michaeleisel/zld on mac. you can easily do this with the "brew" package manager:
|
||||
# `brew install michaeleisel/zld/zld`
|
||||
[target.x86_64-apple-darwin]
|
||||
rustflags = ["-Zshare-generics=y"]
|
||||
rustflags = ["-C", "link-arg=-fuse-ld=/usr/local/Cellar/zld/1.1.0/bin/zld", "-Zshare-generics=y"]
|
||||
|
||||
[target.x86_64-pc-windows-msvc]
|
||||
linker = "rust-lld.exe"
|
||||
|
|
Loading…
Reference in a new issue