RUST-140 Bump RUST_VERSION to 1.95.0 in build workflow#231
Conversation
SummaryUpdates the Rust toolchain version used in CI from 1.91.1 to 1.95.0. This is a single-line change to the workflow environment variable, making the CI toolchain consistent with Clippy metadata updates already made in What reviewers should knowScope: One line changed in What to verify: Check that CI jobs continue to pass with Rust 1.95.0. Since this version is stable and the change is purely a toolchain update, there should be no unexpected breakages unless recent Rust versions introduce new lints or behavior changes for this codebase. Context: This aligns a previous Clippy update (#220), so the build metadata should now be consistent across the repository.
|
There was a problem hiding this comment.
Clean, minimal change. One missed location warrants attention before merge, and there's a pre-existing issue in ShadowScans.yml that's now more visible given the version gap.
Missed update — bump-version.yml: Line 29 in .github/workflows/bump-version.yml has an inline mise.toml snippet that still pins rust = "1.91.1". This version is used when cargo generate-lockfile runs during version bumps. It should be updated to 1.95.0 to stay in sync. The git restore on line 56 of that workflow restores the repo's mise.toml (which doesn't pin Rust at all), so this inline override is the only place this version appears outside build.yml.
Pre-existing — ShadowScans.yml: That workflow references ${{ env.RUST_VERSION }} at line 30 but defines no workflow-level env: block, so the variable expands to an empty string and rustup default will fail. This predates this PR but is now a 4-version gap behind. Worth fixing alongside or in a follow-up.
|





RUST_VERSIONenv var in.github/workflows/build.ymlfrom 1.91.1 to 1.95.0 (current stable, released 2026-04-14).