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: clippy for rust 1.59.0 #162

Merged
merged 4 commits into from
Feb 25, 2022
Merged

fix: clippy for rust 1.59.0 #162

merged 4 commits into from
Feb 25, 2022

Conversation

afonsojramos
Copy link
Collaborator

@afonsojramos afonsojramos commented Feb 25, 2022

Currently the CI's clippy is failing due to the release of Rust 1.59.0. This PR fixes those errors.

  • Moved from container specific builds to toolchain specific builds to allow for a permanent build process with rust's stable toolchain. This also follows the build process that is also used in Serenity.
  • Started testing only for the MRSV (Minimum supported rust version, which was tested to be 1.54.0 due to some nightly features that were only available from this version forward) and Stable.
  • Applied 1.59.0 clippy fixes.
  • Bumped version to 1.3.0.

@afonsojramos
Copy link
Collaborator Author

Ran some tests with several Rust versions and it seems that 1.54 is our MRSV (Minimum supported rust version), should we maybe move towards only testing the MRSV and Stable? @aquelemiguel

@aquelemiguel
Copy link
Owner

Ran some tests with several Rust versions and it seems that 1.54 is our MRSV (Minimum supported rust version), should we maybe move towards only testing the MRSV and Stable? @aquelemiguel

I see no problems with that, go ahead! 🚀

@afonsojramos afonsojramos linked an issue Feb 25, 2022 that may be closed by this pull request
@joao-conde joao-conde removed their assignment Feb 25, 2022
@aquelemiguel aquelemiguel merged commit 3df0571 into main Feb 25, 2022
@aquelemiguel aquelemiguel deleted the clippy-fix branch February 25, 2022 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 dependency Related to dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clippy on main is failing due to Rust's 1.59.0
3 participants