Month: April 2019

Rust missing component

Started to look at the Rust programming language both for integrating with Python and for programming Windows and the Raspberry Pi. First problem I hit was the following error when trying to use a Rust VS Code extension.

toolchain 'stable-x86_64-pc-windows-msvc' does not contain component 'rls' for target 'x86_64-pc-windows-msvc'

This was one of the situations where searching on the error message did not seem to help. The problem was actually a broken upgrade. I had previously had Rust installed but never got started with it. Either the initial installation was broken or the upgrade did not work correctly.

The fix, as is often the case in these situations, was to completely uninstall Rust with the following command.

rustup self uninstall

Then to reinstall from scratch.