-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
A-vscodevscode plugin issuesvscode plugin issuesBroken WindowBugs / technical debt to be addressed immediatelyBugs / technical debt to be addressed immediately
Description
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.
Metadata
Metadata
Assignees
Labels
A-vscodevscode plugin issuesvscode plugin issuesBroken WindowBugs / technical debt to be addressed immediatelyBugs / technical debt to be addressed immediately
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
bjorn3 commentedon Oct 17, 2024
By the way I'm running vscode inside flatpak, but rust-analyzer automatically gets spawned outside of it by vscode afaik.
darichey commentedon Oct 17, 2024
I agree #18281 could be related, but it's unclear how: the only commands it should affect are
rustup
andrust-analyzer --version
.FWIW, I can't repro. I also can't find where rust-analyzer is trying to run that command during activation.
edit: I didn't realize this was in a top level definition, this is it:
rust-analyzer/editors/code/src/debug.ts
Line 243 in 8dd53a3
davidbarsky commentedon Oct 17, 2024
#18265 seems a little suspicious to me, especially since it's a regex +
exec
and it calls rustc. We should probably fix and/or revert that PR.davidbarsky commentedon Oct 17, 2024
I'll put up a PR with a fix, one moment.
Veykril commentedon Oct 17, 2024
Oh my bad, I somehow overlooked that odd call there.
davidbarsky commentedon Oct 17, 2024
No worries, I'm just doing a slight refactor right now to consolidate where the symbol map is populated.
davidbarsky commentedon Oct 17, 2024
Opened #18320.
Auto merge of #18320 - davidbarsky:davidbarsky/fix-lldb-dap-calling-r…
Auto merge of #18320 - davidbarsky:davidbarsky/fix-lldb-dap-calling-r…
Auto merge of #18320 - davidbarsky:davidbarsky/fix-lldb-dap-calling-r…
Auto merge of #18320 - davidbarsky:davidbarsky/fix-lldb-dap-calling-r…
3 remaining items