Skip to content

Pin the Rust toolchain to 1.100.0 - #14

Merged
sn merged 1 commit into
mainfrom
ci/pin-rust-toolchain
Nov 19, 2026
Merged

sn merged 1 commit into
mainfrom
ci/pin-rust-toolchain

Conversation

@sn

@sn sn commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

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.toml now pins 1.100.0 with Clippy and rustfmt. That is the current stable and what 1.3.2 was built with. Both workflows run rustup toolchain install, which reads the file; the macOS release job adds its two targets with rustup 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.

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.
@sn
sn merged commit 05422a5 into main Nov 19, 2026
7 checks passed
@sn sn self-assigned this Nov 19, 2026
@sn
sn deleted the ci/pin-rust-toolchain branch November 19, 2026 15:46
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.

1 participant