Skip to content

rust-analyzer.cargo.unsetTest is gone, what should I use as a substitute? #17957

Closed
@vittorius

Description

@vittorius

Some time ago, there was an option to disable the "test feature by default". Now it seems to be gone.
Is there any alternative way to disable the test feature? My primary goal is to disable it for my main crate in order to get rid of the errors highlighted throughout the codebase while my mocks (covered by #[cfg(test)]) are still incomplete.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-supportCategory: support questions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions