-
Notifications
You must be signed in to change notification settings - Fork 255
toolchain 'nightly-x86_64-unknown-linux-gnu' does not contain component 'rls' #502
Comments
I have almost exactly the same error but with msvc:
|
Component "rls" was recently renamed to "rls-preview". Probably this is the reason for your problem. I just reinstalled rust completely and added "rls-preview" component. Now everything works. Probably reinstalling rust was not necessary and simply adding "rls-preview" to updated toolchain should work. |
Had the same issue and using rls-preview fixed this for me too. |
Yes, the rls component is renamed to rls-preview, however, the binary should still be called |
I had this issue too. I do have a binary called rls, but the vscode extension must look for component |
Change as follows
|
Is this with the latest VSCode extension? If you have v0.3.0, this should be addressed. |
Seeing same here:
|
Try running rustup update first and see if that helps. I can confirm it
works on Windows with that specific toolchain for me.
…On Sun, 8 Oct 2017 at 02:15, Val V ***@***.***> wrote:
Seeing same here:
rustup component add rls-preview --toolchain nightly
error: toolchain 'nightly-x86_64-pc-windows-msvc' does not contain component 'rls-preview' for target 'x86_64-pc-windows-msvc'
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#502 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AC8y3VWq-A3P9ZP8Ra6apb0ZmSN7ygYzks5sqBQ7gaJpZM4Pof1i>
.
|
Okay wierd, that fixed it but "rustup self update" didn't. One thing I was was the old rls getting removed, maybe that's what's happening. |
VSCode extension 0.3.1 also detects the new |
Still seeing the issue on Windows:
|
@surferjeff This comment worked for me. These are the commands I ran
Then in VSCode I set |
@surferjeff Looks like some recent nightlies haven't included rls for some reason. https://www.reddit.com/r/rust/comments/7hkxez/how_to_check_rls_is_present_before_updating/ @golf1052 is suggesting using the beta... which may work for some, but will not necessarily contain the latest features. |
This has stopped working for me the past week, i'm guessing its related to what you said @ultramancool I will try beta for now and see if that works |
What teh...
Guys seriously |
After regular rustup update
I get this:
nightly-x86_64-unknown-linux-gnu installed - rustc 1.22.0-nightly (3c96d40d3 2017-09-28)
The text was updated successfully, but these errors were encountered: