Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

`rustup component add rls –toolchain nightly-x86_64-unknown-linux-gnu` failed

I need to use a Rust nightly feature with the VS-code Rust-language-server.

#![feature(generic_associated_types)]

So, I did

$ rustup default nightly

and, vscode rust extension automatically starts

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

$ rustup component add rls --toolchain nightly-x86_64-unknown-linux-gnu

however,

error: component 'rls' for target 'x86_64-unknown-linux-gnu' is unavailable for download for channel 'nightly'
Sometimes not all components are available in any given nightly. 

I understand what it means, and is there nothing to do?

I mean looks like it’s impossible to code with Rust nightly feature in VS-code currently.

>Solution :

Use rust-analyzer instead. Rls is not in active now.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading