Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Editor crashes when "main.rs" is empty #180

Open
ruza-net opened this issue Aug 4, 2020 · 0 comments
Open

Editor crashes when "main.rs" is empty #180

ruza-net opened this issue Aug 4, 2020 · 0 comments

Comments

@ruza-net
Copy link

ruza-net commented Aug 4, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant