rust-lang / rust-analyzer

A Rust compiler front-end for IDEs
https://rust-analyzer.github.io/
Apache License 2.0
14.19k stars 1.59k forks source link

Extension fails to start on latest nightly #18318

Open bjorn3 opened 1 hour ago

bjorn3 commented 1 hour ago

The developer tools of vs code show the following:

console.ts:137 [Extension Host] /bin/sh: regel 1: rustc: opdracht niet gevonden
C @ console.ts:137
mainThreadExtensionService.ts:107 Activating extension 'rust-lang.rust-analyzer' failed: Command failed: rustc -V -v
/bin/sh: regel 1: rustc: opdracht niet gevonden

where "opdracht niet gevonden" is Dutch for "command not found".

It works fine with the latest stable version of the extension.

I suspect that https://github.com/rust-lang/rust-analyzer/pull/18281 caused this regression. cc @darichey

bjorn3 commented 1 hour ago

By the way I'm running vscode inside flatpak, but rust-analyzer automatically gets spawned outside of it by vscode afaik.