rust-lang / rust-lang/rustup

During install, handle failure to install toolchain better

Open
#275 3 comments 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

Right now, we do the (very simple) rustup install, then install stable. If stable fails, then the installation is reported as failed, but rustup is still installed.

I'm not sure off hand if it's better to report a successful install with caveats or to try to revert the install completely.

Mentioned in https://github.com/rust-lang-nursery/multirust-rs/issues/260

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 installation flow through the initial rustup install and subsequent stable toolchain installation. Read the discussion in issue 260 for related context, then determine and document the intended behavior when stable installation fails. Done means the failure path consistently reports the chosen outcome and leaves installation state matching that outcome.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.