Add a facility to rustup to show how its variables are currently set.
@rami3l is already working on this.
Since Aug 3, 2026.
Assessment
This issue has not been assessed yet.
Description
Problem you are trying to solve
Currently there is (or I can find) no way to see how the "variables" in rustup are set. The rustup set command allows you to set them but it has no --list variant neither does rustup show have a --variables variant. To be slightly more explicit, rustup set help displays:
Alter rustup settings
Usage: rustup[EXE] set <COMMAND>
Commands:
default-host The triple used to identify toolchains when not specified
profile The default components installed with a toolchain
auto-self-update The rustup auto self update mode
auto-install The auto toolchain install mode
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
But I cannot display how default-host, profile, auto-self-update or auto-install are configured.
Solution you'd like
I have no preference as to whether this is a new variant of show or set or both or even some other solution. If we take Unix shell command set as the exemplar, then rustup set would show this rather than assuming "help" as it does now, but since that is a breaking change it may well not be the preferred solution.
Notes
I have discussed this on zulip and been advised to raise an issue.
- Dominant language
- Rust
- Stars
- 7k
- Forks
- 1.1k
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 48
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.
More from rust-lang/rustup
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
E-easy enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
enhancement O-shell
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 65/100
-
enhancement
All issues in rust-lang/rustup
Similar issues
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
yantrikos/yantrik-os#255 ·
-
bug CLI custom-model
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
raphamorim/rio#1956 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
rust-bitcoin/rust-bitcoin#6930 · 1 comment ·