Skip to content

chore(rust): pin Rust toolchain to 1.95.0 via rust-toolchain.toml#22

Open
w-martin wants to merge 2 commits into
mainfrom
worktree-agent-a03f4db89bfe7ccf1
Open

chore(rust): pin Rust toolchain to 1.95.0 via rust-toolchain.toml#22
w-martin wants to merge 2 commits into
mainfrom
worktree-agent-a03f4db89bfe7ccf1

Conversation

@w-martin
Copy link
Copy Markdown
Owner

Prevents surprise CI failures from Rust stable updates — the class of breakage in #20.

Summary

  • Adds rust-toolchain.toml at the repo root pinning Rust 1.95.0 with clippy and rustfmt components
  • cargo, rustup, and dtolnay/rust-toolchain all respect this file automatically — local dev and CI stay in sync
  • Future toolchain bumps require an explicit change to this file, making the update deliberate rather than silent

Updating the toolchain

Change channel = "1.95.0" to the target version, verify CI passes, merge.

Note

The dtolnay/rust-toolchain CI step still works as-is; the components: it specifies are superseded by the toolchain file. A follow-up can clean that up once the workflow OAuth scope is available.

Test plan

  • rust-toolchain.toml exists at repo root
  • cargo clippy -- -D warnings passes in rust/

🤖 Generated with Claude Code

@w-martin w-martin changed the base branch from main to worktree-agent-a8ec2ca0fb3645d90 May 17, 2026 10:41
Base automatically changed from worktree-agent-a8ec2ca0fb3645d90 to main May 26, 2026 10:24
@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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