Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

toolchain 'nightly-x86_64-apple-darwin' does not contain component 'rls-preview' for target 'x86_64-apple-darwin' #543

Closed
1yefuwang1 opened this issue Nov 3, 2017 · 3 comments

Comments

@1yefuwang1
Copy link

Running "rustup component add rls-preview --toolchain nightly" gives me
error: toolchain 'nightly-x86_64-apple-darwin' does not contain component 'rls-preview' for target 'x86_64-apple-darwin'
I encountered the same problem last week and, according to #535 , the problem was fixed. But I still run into this problem today.

@nrc
Copy link
Member

nrc commented Nov 3, 2017

This will be a recurring issue - not every nightly will have the RLS component. To work around this, you can use the beta channel or stick with yesterday's nightly (see rust-lang/vscode-rust#181 (comment)).

@1yefuwang1
Copy link
Author

After switching to the beta channel, everything works like a charm! Thx~
I think it would be nice to document the solution to this issue in the README if this will be a recurring issue.

@nrc
Copy link
Member

nrc commented Nov 6, 2017

It's documented in the debugging and troubleshooting guide which is linked from the README.

@nrc nrc closed this as completed Nov 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants