How do I tell VS code what toolchain I want to use?
RustVisual Studio-CodeRust Problem Overview
After installing extensions for Rust, I get this error:
> To properly function, the extension needs to know what toolchain you > want to use.
Rust Solutions
Solution 1 - Rust
Press Close to select toolchain :)
Solution 2 - Rust
The extension will provide a prompt after you close that prompt, which allows you to select the toolchain you want. You can see the toolchain that you selected in your preferences file.
Solution 3 - Rust
As the message says, you must choose a toolchain (documentation here):
$ rustup default stable
for the stable Rust, or
$ rustup default nightly
for the newest development version.
If you only want to play with Rust, I advise you to use nightly Rust because there are more new things in it.
Solution 4 - Rust
Add this to your configuration with toolchain you want to use to enforce it in VS Code:
"rust.rustup": {
"toolchain": "stable-x86_64-apple-darwin"
}