rustbuild: Clean build/dist on make clean
Prevents stale artifacts from sticking around by accident!
This commit is contained in:
parent
324b175174
commit
37887fce11
1 changed files with 1 additions and 0 deletions
|
|
@ -24,6 +24,7 @@ use Build;
|
|||
pub fn clean(build: &Build) {
|
||||
rm_rf(build, "tmp".as_ref());
|
||||
rm_rf(build, &build.out.join("tmp"));
|
||||
rm_rf(build, &build.out.join("dist"));
|
||||
|
||||
for host in build.config.host.iter() {
|
||||
let entries = match build.out.join(host).read_dir() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue