-
Notifications
You must be signed in to change notification settings - Fork 919
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
Add support for "rustup run active" #1279
Conversation
Would it be possible for |
That would make parsing the command line a bit fuzzy ("is rustc a toolchain or a command?", "did it fail to find a toolchain because it was actually a command, or because it's not installed?"), so I'm a bit torn about that. About |
Implements #1278
cc @alexcrichton and @withoutboats thoughts? |
Note that I quite like the idea of making the toolchain optional, but I'll wait for someone else to chip in on whether this feature might be wanted. |
I'm not sure I quite understand the intended use case here, @lnicola mind elaborating on how you intend this getting used? |
The VS Code extension runs The simple way out is to run Besides that, it fills a hole in the functionality of |
As a summary from a discussion on IRC:
In any case, I'm fine with closing this, as it's not strictly needed, but I have a hunch that people might ask again about it in the future. |
Closing since there wasn't any additional feedback. |
Just ran into this. I have rustup installed via a system package on an archlinux box and there's no
so there's no way to get to rust-analyzer without explicitly referring to |
@valpackett you can do PS: this was my first PR to the |
Implements #1278