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

Fix new linter: remove std::mem:: #352

Merged
merged 2 commits into from
Jul 28, 2024
Merged

Fix new linter: remove std::mem:: #352

merged 2 commits into from
Jul 28, 2024

Conversation

djeedai
Copy link
Owner

@djeedai djeedai commented Jul 28, 2024

Fixes #351

@djeedai djeedai added the C - bug Something isn't working label Jul 28, 2024
@djeedai djeedai merged commit 0663370 into main Jul 28, 2024
13 checks passed
@djeedai djeedai deleted the u/sizeof branch July 28, 2024 12:18
djeedai added a commit that referenced this pull request Aug 5, 2024
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.
djeedai added a commit that referenced this pull request Aug 5, 2024
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.
djeedai added a commit that referenced this pull request Aug 5, 2024
* Revert "Fix new linter: remove `std::mem::` (#352)"

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.

* Remove `unused_qualifications` linter flag

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

* Add MSRV build to CI

* Run CI on hotfix/* branches

* Clippy fixes

* v0.12.2
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.

Crate fails to build
1 participant