]> git.proxmox.com Git - cargo.git/commit
Fix a number of bugs with cargo clean
authorAlex Crichton <alex@alexcrichton.com>
Tue, 10 Nov 2015 17:41:06 +0000 (09:41 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Sun, 15 Nov 2015 21:02:39 +0000 (13:02 -0800)
commit595ac1de62c89f2f6dc00bc3d607deaa998216a2
tree4903a2f42fdaabb4777551e728995c24628f1ca8
parentf191c24059fb14fb69a4192128ec37a743e046ae
Fix a number of bugs with cargo clean

* Clean out both host/target platforms if any are available.
* Clean out build script output.
* Add a --release flag to also be able to clean out release folder
* Be sure to clean out benchmarks, tests, etc.
* Cleaning out registry packages no longer panics

Closes #2121
src/bin/clean.rs
src/cargo/ops/cargo_clean.rs
tests/test_cargo_clean.rs