Commit a23222e
committed
Tooling: declare rustfmt + clippy as required toolchain components
Pinning `apps/desktop/rust-toolchain.toml` to a specific channel
without a `components` line tells rustup to install only the minimal
profile (rustc + cargo + rust-std). CI scripts then invoke
`cargo fmt --check` and `cargo clippy` and trip on missing components —
every Rust job on a fresh runner has been failing at the rustfmt step
since the channel pin landed.
Add `components = ["rustfmt", "clippy"]` so the runner installs them
automatically alongside the pinned channel. Devs with local rustup
configs that already include rustfmt are unaffected (rustup honours the
declaration whether the components are already present or not).1 parent 7d771ca commit a23222e
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
0 commit comments