Delete the `target` directory for the package.
Section: Formatting, linting, cleaning
Remove build artifacts
bash
bash
cargo cleanExplanation
Useful when debugging stale builds or reclaiming disk space.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Formatting, linting, cleaning