rust-lang / rust-lang/rustup

add `--explain` or `--verbose` option to `rustup which`

Open
#1,423 4 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

I would love if there were a way to have rustup which tell me why it had selected a particular tool. I imagine rustup which --explain rustc or something like that, which would show all of the relevant overrides (or at least the override that was used in this case).

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 with the rustup which command and trace how it selects a toolchain and applies overrides. Define how an --explain or --verbose option should present the relevant overrides, then verify that rustup which --explain rustc identifies why the selected tool was chosen.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.