atom-ide-rust icon indicating copy to clipboard operation
atom-ide-rust copied to clipboard

Editor crashes when "main.rs" is empty

Open ruza-net opened this issue 3 years ago • 0 comments

When the "main.rs" file is saved empty, the whole editor freezes and shortly crashes. During the freeze, a really high spike in CPU usage occurs. The analyzer doesn't show the compilation error that no fn main() was found, so the issue likely occurs during this check.

The editor works normally when in safe mode (eg. all packages disabled).

Atom version: 1.49.0 atom-ide-rust version: 0.22.0-beta.3 RLS: rust-analyzer-mac Toolchain: stable-x86_64-apple-darwin

ruza-net avatar Aug 04 '20 17:08 ruza-net