Skip to content

[Feature Request] Add support for "rustup run active foo" #1278

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

Closed
lnicola opened this issue Oct 29, 2017 · 1 comment
Closed

[Feature Request] Add support for "rustup run active foo" #1278

lnicola opened this issue Oct 29, 2017 · 1 comment

Comments

@lnicola
Copy link
Member

lnicola commented Oct 29, 2017

rustup can be used to run commands from a specific toolchain, but not from the active one. It would be nice to have a way to do this.

There is a workaround of running the command directly, but there's no guarantee that PATH contains ~/.cargo/bin. Another workaround is to parse the output of rustup show, but it's awkward.

See also rust-lang/vscode-rust#179.

@lnicola lnicola changed the title [Feature Request] Add support for "rustup run default foo" [Feature Request] Add support for "rustup run active foo" Oct 29, 2017
@lnicola
Copy link
Member Author

lnicola commented Nov 1, 2017

Closing, see #1279 for a rationale.

@lnicola lnicola closed this as completed Nov 1, 2017
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

1 participant