Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
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

Description

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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions