rust-lang / rust-lang/rust-analyzer
VS Code crashes after build
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.9k
- Forks
- 2.2k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 72
Description
Almost always after building using the command cargo build VS Code crashes and needs to restart the whole editor (see image).
I have the newest versions of the analyzer and rustc installed, but it already happened months ago.
rustc 1.84.0 (9fc6b4312 2025-01-07)
rust-analyzer version: 0.3.2273-standalone (248bd511ae 2025-01-18)
Any idea how to further investigate this problem?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the crash in VS Code after running cargo build with the reported rustc 1.84.0 and rust-analyzer 0.3.2273 versions. Check whether it still occurs with current versions and collect the relevant VS Code or rust-analyzer diagnostics; done means there is a reproducible case or actionable crash evidence.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100