This repository has been archived by the owner on Nov 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 164
RLS fails to install toolchain 'nightly-X' does not contain component 'rls-preview' #181
Comments
This should be fixed as of today because nightly has rls-preview again \o/ |
What's the easiest way to find the latest nightly build that includes rls? |
Answering my own question. Just look at the build history and see when the last successful build was and use that date. Also, the extra steps for using nightly are not necessary. All you have to do is set |
To clarify this for others who may have encountered the |
Xanewok
pushed a commit
to Xanewok/rls-vscode
that referenced
this issue
Mar 27, 2019
Implement find implementations extension
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This isn't a bug with the extension as per se, but I suspect people will go to this repo first.
The issue relates to RLS (and components) missing from nightly builds: rust-lang/rls#535
The easiest workaround is to the beta toolchain, to do this on a per project basis, cd to the project and type:
rustup override set beta
Alternatively if you want use the beta toolchain as your default:
rustup default beta
Then set your rustup channel (
rust-client.channel
) in your user settings to stop the extension from failing to find RLS e.g."rust-client.channel": "beta"
If you want to use nightly the last known working version is: 2017-10-24, to set the toolchain you'd do the following:
For nightly you have to also pin it to the specific release date:
"rust-client.channel": "nightly-2017-10-24"
Hope this helps!
The text was updated successfully, but these errors were encountered: