TheBevyFlock / bevy_cli

A Bevy CLI tool and linter.
https://thebevyflock.github.io/bevy_cli/
Apache License 2.0
44 stars 7 forks source link

Rustup to `nightly-2024-10-03` #153

Closed BD103 closed 1 month ago

BD103 commented 1 month ago

With the release of Rust 1.82, it's time to update our pinned nightly Rust and clippy_utils version.

Why update now?

A stable version of Rust releases every 6 weeks. Each release takes 12 weeks (3-4 months) to depart from nightly, enter beta, then become stable. If bevy_lint's pinned nightly version is older than 12 weeks, it will start failing to compile stable Rust code! We can't have that!

As such, the pinned version needs to be updated periodically to stay ahead of stable Rust.

How often should we update?

I propose every 6 weeks, alongside each new stable Rust version. It will keep us 2 releases ahead of stable while still giving us plenty of time to fix bugs and release.

How should this affect version numbers?

Bumping the Rust version (dubbed "Rustup") should be considered a patch change, and as such will increment bevy_lint's version number by 0.0.1. (At a minimum, features and breaking changes may make the version increase by more, based on SemVer.)

How did you update?

I updated clippy_utils to the latest commit and version, and I copied their rust-toolchain.toml version for that same commit.

I then ran checks and tests, as well as browsed the commits to clippy_utils to make sure nothing we use changed.