agentleFS
botirkhaltaevbotirkhaltaev/botir-skills/skills/rust-rustup-toolchain/SKILL.md

rust-rustup-toolchain

Skill4 starsChanged 3 months agoApache-2.0View on GitHub

Master rustup for Rust toolchain management. Use when installing Rust, switching between stable/beta/nightly, managing multiple Rust versions, cross-compiling, or configuring toolchain overrides.

  • Pipes a download into a shell

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check-in file (preferred for repos):

    line 61

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Rustup Toolchain Management

Guide to rustup based on The rustup Book.

When to Use This Skill

  • Installing and managing Rust
  • Switching between stable/beta/nightly
  • Cross-compiling to different targets
  • Using toolchain overrides
  • Custom toolchains

Core References

Installation

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Details (PATH, Windows): references/installation.md.

Toolchain Management

rustup toolchain install stable
rustup toolchain install beta
rustup toolchain install nightly
rustup toolchain install 1.85.0

rustup default stable
rustup update
rustup toolchain list

Components and channels: references/toolchains.md.

rustup component add clippy rustfmt rust-src
rustup component add llvm-tools-preview

Targets / Cross-Compilation

rustup target add aarch64-unknown-linux-gnu
cargo build --target aarch64-unknown-linux-gnu

See references/cross-compilation.md (linkers often required).

Overrides (prefer toolchain file)

Check-in file (preferred for repos):

# rust-toolchain.toml
[toolchain]
channel = "1.85.0"
components = ["clippy", "rustfmt", "rust-src"]
targets = ["wasm32-unknown-unknown"]
profile = "minimal"

Directory override:

rustup override set nightly
rustup override unset
rustup show

Priority and discovery: references/overrides.md.

Reference Map

  • references/installation.md — Installing rustup
  • references/toolchains.md — Channels, install, components
  • references/cross-compilation.md — Targets and linkers
  • references/overrides.md — rust-toolchain.toml and overrides

Key Commands

rustup show
rustup toolchain list
rustup default stable
rustup override set nightly
rustup target add <triple>
rustup component add clippy
rustup update

Key References

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.