Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add a facility to rustup to show how its variables are currently set.

Open
#4,919 16 comments 2 reactions 1 assignee View on GitHub

@rami3l is already working on this.

Since Aug 3, 2026.

Assessment

This issue has not been assessed yet.

Description

enhancement
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

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.

More from rust-lang/rustup

All issues in rust-lang/rustup

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.