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.
The VS Code error message: Could not spawn RLS: `spawn C:\WINDOWS\system32\cmd.exe ENOENT`
Setting "rust-client.enableMultiProjectSetup" to false in settings.json prevents the issue.
Only occurs when running in a workspace folder on a different disk drive than the Windows OS drive.
In my case, Windows is installed to C:, and I'm attempting to work in D:\projects\foo.
The VS Code error message:
Could not spawn RLS: `spawn C:\WINDOWS\system32\cmd.exe ENOENT`
Setting
"rust-client.enableMultiProjectSetup"
tofalse
in settings.json prevents the issue.Only occurs when running in a workspace folder on a different disk drive than the Windows OS drive.
In my case, Windows is installed to C:, and I'm attempting to work in D:\projects\foo.
Example directory structure:
https://github.com/rust-lang/rls-vscode/blob/c85bf69f3a00184ee4600da34e6387178eba754c/src/extension.ts#L454
I noticed
cwd
here is set to"\projects\foo"
, without the drive letter.settings.json
:The text was updated successfully, but these errors were encountered: