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

Add rust-toolchain file #1663

Closed
wants to merge 6 commits into from
Closed

Conversation

neunenak
Copy link
Contributor

Adds a rust-toolchain.toml file to the repo, pinned to the current rust stable version as of today, which is 1.72.0.

This codifies exactly what version of rust will definitely build just, and prevents the problem that when the current stable version of rust changes, the next time CI runs, the new version of rust might pull in new clippy lints that the codebase won't pass, causing CI failures unrelated to an actual build problem. This does mean that it will be necessary to periodically manually update rust-toolchain.toml to be up-to-date with the latest rust stable version, but I think that's a virtue rather than a vice.

@neunenak neunenak marked this pull request as ready for review August 28, 2023 02:59
@casey
Copy link
Owner

casey commented Oct 9, 2023

I actually kind of like not pinning the latest stable version of rust in CI. On the one hand CI does break periodically when new lints are introduced, on the other hand, that reminds me to fix the lints and update to the latest version of Rust. I think overall I'm inclined not to do this, unless there's some way to automate a reminder to update Rust.

@casey casey closed this Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants