[Merged by Bors] - Changed Zshare-generics to n on Windows#2016
[Merged by Bors] - Changed Zshare-generics to n on Windows#2016lukors wants to merge 1 commit intobevyengine:mainfrom
n on Windows#2016Conversation
It seems like this option needs to be off on Windows: bevyengine#131
| [target.x86_64-pc-windows-msvc] | ||
| linker = "rust-lld.exe" | ||
| rustflags = ["-Zshare-generics=y"] | ||
| rustflags = ["-Zshare-generics=n"] |
There was a problem hiding this comment.
we should probably just remove the rustflags section entirely here. generic sharing is off by default last time i checked.
There was a problem hiding this comment.
share-generics is off by default, but only with --release, otherwise it's apparently on by default. This is where I got this information rust-lang/rust#67276 and I've verified it on my machine by successfully doing cargo +stable run --features bevy/dynamic --release, which doesn't work without --release.
Followed advice from the following to get it working bevyengine/bevy#2016
|
What's blocking this merge? I've reproduced the (non)working configurations suggested by @lukors here: bevyengine/bevy-website#137 (comment)
⛔ I'm running on Windows 10, with MSVC v142 - VS 2019 C++ x86/64 build tools |
I guess someone on Windows that can confirm, which you did 👍 |
|
Sorry for letting this sit unmerged / untested :) |
|
bors r+ |
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
n on Windowsn on Windows
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
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