Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Cargo commands are invoked through rustup for uninstalled toolchain (WSL) #316

Open
KalitaAlexey opened this issue Jul 4, 2017 · 0 comments
Labels

Comments

@KalitaAlexey
Copy link
Member

As per #289, #315 introduces a new configuration parameter, "rust.shell.kind.windows" which can be used to specify what kind of terminal is used.
If the user uses WSL and Cargo commands are executed through rustup, then "rust.rustup.toolchain" will be used as a toolchain which rustup will be invoked with.
The problem is that the extension allows to choose only toolchains installed on Windows (not WSL) and hence rustup will be invoked with some not installed toolchain.
The workaround is to install the toolchain on Windows which will be used in WSL.
An example: nightly-x86_64-unknown-linux-gnu
The motivation is described in #315

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

No branches or pull requests

1 participant