What causes rust analyzer to spawn cargo test --no-run
?
#18096
-
So since a couple weeks I can barely use rust-analyzer in neovim. It got to a point that my machine went out of memory and restarted itself. After investigating I found out that dozens(sometimes hundreds) of cargo test processes are automatically spawned... I have no idea what is causing this... Could it be rust-analyzer? How do I troubleshoot this and find the root cause? I have tried a minimal config with just the This is the command that is ran:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Nothing in rust-analyzer itself passes |
Beta Was this translation helpful? Give feedback.
-
The problem likely lies with |
Beta Was this translation helpful? Give feedback.
The problem likely lies with
rustaceannvim
given https://github.com/mrcjkb/rustaceanvim/blame/1997658e2865f06b0dd67cf824ee8e71d347c185/lua/rustaceanvim/overrides.lua#L76-L93