-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
WSL2 to Windows compilation fails in Bevy 0.12 #10425
Comments
Can confirm this is also happening on Mac.
|
The PR #10208 introduced |
Is there any chance of this being reconsidered for a minor patch? Currently anyone on Mac or Linux can't build bevy games for Windows (important platform 😅) even with containers/docker. I encountered this bug while trying to upload a playtest build to itch. So I am currently asking around to borrow someones PC for half an hour haha |
could you check if BLAKE3-team/BLAKE3#230 fixes it for you? |
Just for context as it was mentioned in discord: The linked PR is too stale to test or patch in as it targets |
Enabling the |
I can confirm that using those features enables cross-compilation. As a temporary fix, one can add blake3 = { version = "1.5", features=["pure"] } Edit: After checking CARGO_FEATURE_PURE=1 cargo build --target x86_64-pc-windows-msvc |
I would like to land some version of BLAKE3-team/BLAKE3#230 upstream, and I have some questions about how the approach in that PR compares to what |
And thank you for pointing to a workaround here ❤️ |
Bevy version
0.12
Relevant system information
Rust version:
cargo 1.73.0 (9c4383fb5 2023-08-26)
Operating system:
What you did
Attempted to cross-compile for Windows MSVC target from Linux (WSL2).
Code in
main.rs
:What went wrong
Compilation fails, the following error occurs:
Additional information
Current workaround is to use 0.11.3 - it works just fine on that version.
Based on this discussion, the issue seems to be stemming from the new Blake3 dependency.
The text was updated successfully, but these errors were encountered: