Skip to content
This repository was archived by the owner on Dec 8, 2020. It is now read-only.
This repository was 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

Description

@KalitaAlexey

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions