Skip to content

cargo clean --release removes entire target directory without warning #6339

@spearman

Description

@spearman

Problem

Running $ cargo clean --release seems to silently remove the entire target directory. I would expect at least a warning that this would happen when passing the '--release' flag since the intention was to only clean the release build.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions