rust-lang / rust-lang/rustup

Show installed path of Rust components: sources, docs & Clippy

Open
#3,382 13 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

Problem you are trying to solve

It would be nice if Rustup itself could show the paths of where Rust components (eg. rustc, rust_src, etc.) are installed.

Solution you'd like

Add a command to show path of Rust components (if installed).

$ rustup which rust_src
/path/to/folder/where/installed/rust_src
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 rustup's command handling and how installed components such as rustc, rust_src, and Clippy are located. Add the requested component-path lookup so rustup which <component> prints the installed path when available, and verify the behavior for installed and missing components.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.