You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 18, 2022. It is now read-only.
It appears that rls-vscode is detecting a channel name like "stable-x86_64-apple-darwin (default)":
[Extension Host] Detected active channel: stable-x86_64-apple-darwin (default) (since 'rust-client.channel' is unspecified)
This is causing the rustup command to fail as the "(default)" part is not actually part of the toolchain name:
Error: Command failed: rustup component list --toolchain stable-x86_64-apple-darwin (default)
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `rustup component list --toolchain stable-x86_64-apple-darwin (default)'
Stripping the "(default)" and setting rust-client.channel to "stable-x86_64-apple-darwin" fixes the issue.
So it seems like the code that detects the channel name needs to be able to recognise and strip "(default)" from wherever it is finding that. I'll take a look and see if I can see where that happens, but I'm not experienced with VSCode extensions, or rustup.