rust-lang / rust-lang/rustup

Allow aliasing specific version to generic channels

Open
#4,103 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
7k
Forks
1.1k
Avg merge
22h 40m
Merged PRs (30d)
46

Description

Problem you are trying to solve

I'm trying to install nightly-2024-10-25 as nightly, or 1.79.0 as stable to keep scripts as CI unchanged

Solution you'd like

rustup install nightly-2024-10-25 --default

Notes

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the rustup install command and how it handles the --default option and channel names. Determine where a dated or numbered toolchain could be aliased to nightly or stable, then verify that the requested command preserves the generic channel for subsequent scripts. Add or update coverage for both example forms if the existing command tests provide a suitable place.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.