Skip to content

Commit 4465583

Browse files
committed
Changed Zshare-generics to n on Windows (#2016)
It seems like this option needs to be off on Windows: bevyengine/bevy-website#131 This change also simplifies the instructions required for the Fast Compiles section of the book: bevyengine/bevy-website#137
1 parent f6b42b8 commit 4465583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.cargo/config_fast_builds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ rustflags = ["-C", "link-arg=-fuse-ld=/usr/local/bin/zld", "-Zshare-generics=y"]
1414

1515
[target.x86_64-pc-windows-msvc]
1616
linker = "rust-lld.exe"
17-
rustflags = ["-Zshare-generics=y"]
17+
rustflags = ["-Zshare-generics=n"]
1818

1919
# Optional: Uncommenting the following improves compile times, but reduces the amount of debug info to 'line number tables only'
2020
# In most cases the gains are negligible, but if you are on macos and have slow compile times you should see significant gains.

0 commit comments

Comments
 (0)