Skip to content

Checking an exercise takes too long #2071

Open
@GlowCheese

Description

@GlowCheese

Description

This is the video that the issue happens:

2024-08-06.23-52-22.mp4

It can be shown that every time I update the code of an exercise, the rust-analyzer builds the whole exercises folder (it has like 156 exercises and the extension run the code check for every single of them). During this process, I cannot use any command (h, n, l or q). Only after it finishes, rustlings tells me if my solution is correct or not and directs me to the next exercise.

I don't think it's a bug, but rather a code design issue. If I turn of rust-analyzer, it seems the issue's gone but I still have to wait for like 1-2 seconds for rustlings to detect file changes.

Please look into this issue and fix it. Thanks!

System Information

  • OS: Windows 10 x64 (10.0.19045)
  • VSCode: version 1.19.0
  • rust-analyzer: 0.3.2062
  • rustlings: 6.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions