Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah I found the same thing. The issue turned out to be that something in my `.bashrc` was appending to `PATH` (or some other env var). Because my `cargo build` commands that were running in one more level of shell than Rust-analyzer, it had different env vars and therefore a different cache key.

Once you fix it so that Rust-analyzer sees the same env vars as your shell then the issue goes away. It's kind of annoyingly hard to debug though.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: