Downgrade nightly when adding component
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 7k
- Forks
- 1.1k
- Avg merge
- 22h 40m
- Merged PRs (30d)
- 46
Description
Describe the problem you are trying to solve
I have a nightly installed and want to add a component that is not available for this or any newer nightly.
Describe the solution you'd like
With https://github.com/rust-lang/rustup/pull/2126 we have rustup toolchain install --allow-downgrade; this issue would be solved by adding the parallel rustup component add --allow-downgrade.
Notes
Currently available work-around: rustup toolchain install $already_installed_channel --allow-downgrade -c added_component_name
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the rustup component add command entry point and compare its toolchain selection with rustup toolchain install --allow-downgrade. The work is done when rustup component add --allow-downgrade permits adding a component from an older available nightly, while preserving the documented workaround behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100