rust-core-toolchain

Installation
SKILL.md

rust-core-toolchain

Mechanics of the Rust toolchain : rustup (toolchain installer/manager), cargo (build/package orchestrator), rustc (compiler), clippy (linter), rustfmt (formatter). This skill is the operational complement to [[rust-core-language-versions]] (which covers editions, channels-as-concept, MSRV-as-policy). For Cargo.toml mechanics see [[rust-impl-cargo-project]]. For edition-2024 language-level changes see [[rust-syntax-edition-2024]].

Quick Reference

Tool boundaries

Tool Role Owns
rustup Toolchain manager Channels, components, targets, version pinning
cargo Build/package orchestrator Builds, dependencies, tests, publishing, lints config
rustc Compiler Source-to-binary, codegen flags, edition flag
clippy Linter (cargo subcommand cargo clippy) Lint categories, additional checks beyond rustc
rustfmt Formatter (cargo subcommand cargo fmt) Whitespace, layout, edition-aware syntax shape

ALWAYS invoke clippy and rustfmt via their cargo subcommands (cargo clippy, cargo fmt), not as standalone binaries.

Install in one line

Installs
2
GitHub Stars
1
First Seen
May 24, 2026