mcpbeat

Update Rust

azure/update-rust

Update the pinned stable and nightly Rust toolchain versions used by the repository

290 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
883
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/Azure/azure-sdk-for-rust --skill update-rust

The instruction itself

3 sections, as written by the author

Run eng/scripts/Update-Rust.ps1 to update the pinned Rust toolchain versions.

What the script does

  • Fetches the latest stable Rust version from GitHub (if -Version not specified)
  • Detects a working nightly toolchain date from rustc --version (if -NightlyVersion not specified), advancing day-by-day until rustup can install it
  • Updates rust-toolchain.toml, eng/scripts/Language-Settings.ps1, and eng/scripts/*.rs shebang lines

Parameters

  • -Version — stable channel version (e.g., "1.96.0"); omit to auto-detect from GitHub
  • -NightlyVersion — nightly date (e.g., "2026-05-01" or "nightly-2026-05-01"); omit to auto-detect from rustc --version

Examples

Update both channels automatically:

eng/scripts/Update-Rust.ps1

Update to a specific stable version with auto-detected nightly:

eng/scripts/Update-Rust.ps1 -Version 1.96.0

Update both channels explicitly:

eng/scripts/Update-Rust.ps1 -Version 1.96.0 -NightlyVersion 2026-05-01

How to use it

Copy the folder

Take azure/update-rust from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.