rust-analyzer: 100% system load on macOS Catalina (too eager incorrect case diagnostic)

…caused by a process rust-analyzer-mac.

Any idea how to throttle that?

image

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 1
  • Comments: 23 (12 by maintainers)

Most upvoted comments

Another option is to compile binary via carbo build --release and set rust-analyzer.serverPath to the $FOLDER_WITH_RA/target/release/rust-analyzer

I was following this advice and nothing seemed to have changed, even though VSCode reacting on this change. However, a complete restart of VSCode with the new analyzer in the path definitely switched off my fans.

Thanks for the quick fix

I did of course. In fact this was offered by VSC on detecting that I was tempering the config… Didn’t help

Another option is to compile binary via carbo build --release and set rust-analyzer.serverPath to the $FOLDER_WITH_RA/target/release/rust-analyzer

I think I identified the cause (thanks for the call graph!) and will send a fix today.

Huh, excellent catch! Those are diagnostics, and they are not resolved lazily.

We probably should lazy-ifiy that, cc @popzxc