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 component add rust-std-<target> should either work or provide a better message. #1500

Closed
vi opened this issue Sep 5, 2018 · 1 comment

Comments

@vi
Copy link

vi commented Sep 5, 2018

$ rustup component list
...
rust-std-x86_64-unknown-freebsd
...

$ rustup component add rust-std-x86_64-unknown-freebsd
error: toolchain 'nightly-x86_64-unknown-linux-gnu' does not contain component 'rust-std-x86_64-unknown-freebsd' for target 'x86_64-unknown-linux-gnu'

It is error that one can't copy and paste from component list to component add (or remove).

Options:

  1. Allow installation of targets with component add, like with target add;
  2. Don't list uninstallable/unremovable components with component list;
  3. Show specific error message, hinting to use target subcommand.
@kinnison
Copy link
Contributor

I believe this was fixed with #2088

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants