-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
[Merged by Bors] - Changed Zshare-generics to n
on Windows
#2016
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
It seems like this option needs to be off on Windows: bevyengine#131
@@ -14,7 +14,7 @@ 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"] | |||
rustflags = ["-Zshare-generics=n"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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