mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
Speed up fast compiles config (#433)
optionally make "fast build" config 40% faster on mac by removing some debug info
This commit is contained in:
parent
5288ec9859
commit
5f1fef333c
1 changed files with 6 additions and 1 deletions
|
@ -15,3 +15,8 @@ rustflags = ["-C", "link-arg=-fuse-ld=/usr/local/bin/zld", "-Zshare-generics=y"]
|
|||
[target.x86_64-pc-windows-msvc]
|
||||
linker = "rust-lld.exe"
|
||||
rustflags = ["-Zshare-generics=y"]
|
||||
|
||||
# Optional: Uncommenting the following improves compile times, but reduces the amount of debug info to 'line number tables only'
|
||||
# In most cases the gains are negligible, but if you are on macos and have slow compile times you should see significant gains.
|
||||
#[profile.dev]
|
||||
#debug = 1
|
Loading…
Reference in a new issue