logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Cargo Clean - Remove Build Artifacts | Online Free DevTools by Hexmos

Clean Rust build artifacts with Cargo Clean. Remove target directories, documentation, and release builds for cleaner builds. Free online tool, no registration required.

cargo-clean

Remove generated artifacts in the target directory. More information: https://doc.rust-lang.org/cargo/commands/cargo-clean.html.

  • Remove the entire target directory:

cargo clean

  • Remove documentation artifacts (the target/doc directory):

cargo clean --doc

  • Remove release artifacts (the target/release directory):

cargo clean {{[-r|--release]}}

  • Remove artifacts in the directory of the given profile (in this case, target/debug):

cargo clean --profile {{dev}}

See Also