Repository navigation
Pin the Rust toolchain to 1.100.0 - #14
Merged
Merged
Conversation
rust-toolchain.toml names the Rust that local builds, CI and the releases all use, with Clippy and rustfmt. Both workflows install what it says instead of whatever stable is that day, so a new Rust can't turn CI red or change a release by itself.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CI and the release builds installed
stable, so a new Rust could turn CI red with a fresh Clippy lint, or change what a release is built with, without anything in the repo changing.rust-toolchain.tomlnow pins 1.100.0 with Clippy and rustfmt. That is the current stable and what 1.3.2 was built with. Both workflows runrustup toolchain install, which reads the file; the macOS release job adds its two targets withrustup target add. Local builds pick it up too: rustup downloads it the first time.To move to a newer Rust, change the number in that one file.
The release workflow only runs on a tag or by hand, so this PR's checks don't cover it. A manual run on this branch builds everything without publishing.