mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 04:33:37 +00:00
Changed Zshare-generics to n
on Windows (#2016)
It seems like this option needs to be off on Windows: https://github.com/bevyengine/bevy-website/issues/131 This change also simplifies the instructions required for the Fast Compiles section of the book: https://github.com/bevyengine/bevy-website/pull/137
This commit is contained in:
parent
f6b42b8669
commit
4465583ccd
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ rustflags = ["-C", "link-arg=-fuse-ld=/usr/local/bin/zld", "-Zshare-generics=y"]
|
||||||
|
|
||||||
[target.x86_64-pc-windows-msvc]
|
[target.x86_64-pc-windows-msvc]
|
||||||
linker = "rust-lld.exe"
|
linker = "rust-lld.exe"
|
||||||
rustflags = ["-Zshare-generics=y"]
|
rustflags = ["-Zshare-generics=n"]
|
||||||
|
|
||||||
# Optional: Uncommenting the following improves compile times, but reduces the amount of debug info to 'line number tables only'
|
# 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.
|
# In most cases the gains are negligible, but if you are on macos and have slow compile times you should see significant gains.
|
||||||
|
|
Loading…
Reference in a new issue