pub fn clean(dry_run: bool, force: bool) -> Result<Cleaned>
Removes the shared target folder (or only measures it with dry_run). A folder named by CARGO_TARGET_DIR is removed only with force, since other projects may use it.
dry_run
CARGO_TARGET_DIR
force