Skip to content
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

Fixes for 1.79, add MSRV check in CI #361

Merged
merged 6 commits into from
Aug 5, 2024
Merged

Fixes for 1.79, add MSRV check in CI #361

merged 6 commits into from
Aug 5, 2024

Conversation

djeedai
Copy link
Owner

@djeedai djeedai commented Aug 5, 2024

Integrate changes from the hotfix/0.12.2 branch.

Fixes #360

djeedai added 6 commits August 5, 2024 17:31
Rust 1.80 added `size_of()` and `align_of()` to the prelude. However
Bevy's MSRV (and therefore Hanabi's) is 1.79, so still require the
`std::mem::` qualification.

This reverts commit 0663370.
This is necessary to build both with MSRV 1.79 (where `size_of()` needs
the `std::mem::` qualification) and 1.80 (where it was added to prelude
and doesn't need it). Otherwise there's always one version which fails
to build.

Fixes #360
@djeedai djeedai added the C - bug Something isn't working label Aug 5, 2024
@djeedai djeedai merged commit 87a268d into main Aug 5, 2024
15 checks passed
@djeedai djeedai deleted the u/msrv branch August 5, 2024 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C - bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bevy 0.14.1 projects do not build due to compile error in Bevy_Hanabi 0.12.1
1 participant