chore(toolchain): pin rust-toolchain.toml to 1.94.1 (PMS-412) #377
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/PMS-412-pin-rust-toolchain"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add rust-toolchain.toml at the repo root pinning channel "1.94.1" with the
clippy and rustfmt components, matching the rustc 1.94.1 / rustfmt 1.8.0 baked
into the rust-builder-*:v1.0.1-rust1.94-trixie image the dev container and the
Dockerfiles already use. rustfmt/clippy output is version-sensitive, so an
unpinned CI runner with a newer rustfmt silently rejected dev-container-clean
code on 2026-06-18 (PMS-399, PMS-404, PMS-405). Pinning the exact patch makes
the rustfmt/clippy run by just check, the just pre-commit hook, and CI agree.
cargo fmt --all --check, clippy -D warnings, cargo check --all-targets,
cargo test --lib and cargo test --doc all pass in the builder image under the
pin; no source reformatting was needed. Header comment records the
exact-patch rationale and the requirement to bump in lockstep with the
rust-builder image tag.
#PMS-412