Skip to main content

update-rust

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

소스 정보

저장소
Azure/azure-sdk-for-rust
최근 소스 활동
2026년 6월 1일 19:18
감지된 SKILL.md 언어
영어
스타
885
포크
375

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
update-rust
description
Update the pinned stable and nightly Rust toolchain versions used by the repository
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: ```powershell eng/scripts/Update-Rust.ps1 ``` Update to a specific stable version with auto-detected nightly: ```powershell eng/scripts/Update-Rust.ps1 -Version 1.96.0 ``` Update both channels explicitly: ```powershell eng/scripts/Update-Rust.ps1 -Version 1.96.0 -NightlyVersion 2026-05-01 ```
GitHub에서 보기