Skip to content

Persistent repetition cargo check and high CPU consumption #21604

@SpriteOvO

Description

@SpriteOvO
2026-02-08_19-43-16.mp4

rust-analyzer version: rust-analyzer version: 0.3.2777-standalone [~/.vscode/extensions/rust-lang.rust-analyzer-0.3.2777-linux-x64/server/rust-analyzer]

rustc version: rustc 1.95.0-nightly (c7f5f3e0d 2026-02-07)

editor or extension: VSCode 0.3.2777

relevant settings:

Removing any one of the settings no longer produces the issue.

    "rust-analyzer.cargo.targetDir": "/tmp/cargo-target-ra",
    "rust-analyzer.server.extraEnv": {
        "RUSTUP_TOOLCHAIN": "nightly"
    },

repository link (if public, optional): closely at dev branch

code snippet to reproduce: Let me know if you need more minimal reproducible code snippet besides the repo above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Broken WindowBugs / technical debt to be addressed immediately

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions