Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustup show doesn't correctly report installed targets for custom toolchains #4251

Open
rami3l opened this issue Mar 13, 2025 · 0 comments
Open
Labels
Milestone

Comments

@rami3l
Copy link
Member

rami3l commented Mar 13, 2025

Following @wesleywiser's report in #4248, I realized that custom toolchains with optional components is a use case that needs more attention.

Minimal reproduction below:

> rustup toolchain install nightly-2023-09-30
[..]

> mv $RUSTUP_HOME/toolchains/nightly-2023-09-30-aarch64-apple-darwin $RUSTUP_HOME/toolchains/stuff
[..]

> rustup +stuff show --verbose
[..]
active toolchain
----------------
name: stuff
active because: overridden by +toolchain on the command line
compiler: rustc 1.74.0-nightly (8ce4540bd 2023-09-29)
path: [$RUSTUP_HOME]/toolchains/stuff
installed targets:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant