-
Notifications
You must be signed in to change notification settings - Fork 164
VSCode fails to start RLS: '--toolchain <toolchain>' requires a value but none was supplied #689
Comments
It seems, that VS Code is not able to deal with custom paths.
And VS Code is obviously ignoring both By the way, for a new language, I cannot understand how the RUST team chose to place cache, lib, and settings files together, and right inside |
I've had the same problem, but after some fiddling around, ignoring the issue and proceeding in configuring my Webpack setup, the plugin involved in Webpack handling of Rust-related code (wasm-pack-plugin) started complaining about the lack of a default toolchain. TL;DR It seems that Arch installation of rustup does not set the default toolchain. After executing the following commands to download and set it up:
all problems went away and VSCode is not complaining anymore. |
@TeHMoroS thanks for that. i was running into the error from OP on arch linux, running those 2 commands fixed it. |
Thanks @TeHMoroS That worked perfectly |
nevermind |
Had the same issue on MacOS, but reinstalling rustup fixes it. One of the comments on #622 mentions adding |
I am learning rust, and only beginning. My setup:
OS: up-to-date 64-bit Archlinux with
rustup 1.20.2
andcode 1.39.2
installed from the software repositories.Commands run so far:
In VS Code :
The text was updated successfully, but these errors were encountered: