mirror of
https://github.com/Momoko-Ayase/Senbei.git
synced 2026-09-19 03:57:59 -04:00
The 1.98.1 pin installs without rustfmt and clippy, so the fmt and clippy jobs fail at the shim before running. Listing the components in the toolchain file makes rustup auto-install them on every host, including the CI runners that invoke cargo with no setup action.
8 lines
336 B
TOML
8 lines
336 B
TOML
[toolchain]
|
|
channel = "1.98.1"
|
|
# CI invokes rustfmt/clippy through the rustup shim with no setup action, so
|
|
# the pinned toolchain must declare its components here — the runner images
|
|
# only preinstall them for their default toolchain.
|
|
components = ["rustfmt", "clippy"]
|
|
targets = ["x86_64-pc-windows-msvc", "wasm32-unknown-unknown"]
|