chore(dev): align local clippy with CI (Rust 1.94 + -D warnings) #106
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/sync-local-clippy-with-ci"
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?
Summary
Follow-up to #105. CI runs clippy on Rust 1.94 with
-- -D warnings; the local./dev/cargowrapper was pinned torust:1.88-slim-bookwormand the justfile clippy recipes did not pass-D warnings, which let new-clippy lints and warning-class lints slip pastjust checkand only fail after the push. #105 fixed the source side; this PR closes the wrapper-side gap so the next drift surfaces locally.Changes
dev/cargo,dev/cargo-desktop: bump the base image fromrust:1.88-slim-bookwormtorust:1.94-slim-bookworm.justfile::check-clippy/check-clippy-saas: append--all-targets -- -D warnings.The named docker volumes keep their existing names. The cargo registry and target cache stay valid across the version bump (cargo invalidates per-rustc as needed); the rustup volume already supports multiple toolchains side by side, so the 1.94 rustfmt + clippy components install alongside the existing 1.88 entries on first invocation via the wrapper's
cargo fmt --version || rustup component add rustfmt clippyline. A clean-clone first run with empty volumes also works because that same line bootstraps the components for whichever toolchain the new image ships.Test plan
just check(running on top of #105) is green end-to-end: standalone clippy, saas clippy, desktop clippy, and fmt-check all finish with no warnings.-D warningsrecipe will fail the local check at the same lints CI is already failing on. Merge order: #105, then this.