rust-lang / rust-lang/rust-analyzer
Go to definition on std types locks rustc
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.9k
- Forks
- 2.2k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 72
Description
rust-analyzer version: rust-analyzer 1 (825833c26 2023-03-19)
rustc version: rustc 1.62.1 (e092d0b6b 2022-07-16)
relevant settings: defaults
When I use go to definition on something like Mutex, cargo run and cargo check does not work anymore and it prints this message only: Blocking waiting for file lock on package cache. I'm assuming that rust-analyzer keeps running even after closing the editor and blocks the package cache?
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
Reproduce the issue by using Go to Definition on a standard type such as Mutex with rust-analyzer 825833c26 and rustc 1.62.1, then run cargo check or cargo run. Investigate why the package cache file lock remains blocked after the editor is closed; done means these commands work normally after the navigation action.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100