pmacs/rust-toolchain.toml

16 lines
826 B
TOML

[toolchain]
# Pinned so local == CI permanently. The CI workflow installs the
# `stable` channel via dtolnay/rust-toolchain; this directory override
# makes every cargo invocation in the repo use the validated version
# regardless, eliminating the local/CI toolchain-drift class that
# silently red-lined CI under newer rolling-stable lints. Bump
# deliberately (its own validated cycle), never implicitly.
channel = "1.95.0"
# rust-analyzer is required: the M4 LSP acceptance suite spawns it
# (tests/m4_acceptance.rs). Without it the rustup proxy resolves
# `rust-analyzer` against this pinned toolchain, finds no component,
# and the spawn dies before the LSP handshake — pinning must ship a
# toolchain complete for the project's own test surface.
components = ["clippy", "rustfmt", "rust-analyzer"]
profile = "minimal"