diff options
| author | Mark Simulacrum <mark.simulacrum@gmail.com> | 2017-09-29 17:58:54 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-29 17:58:54 -0600 |
| commit | 6bc8ca06c15bab082a00e62a2bc8805741871d7e (patch) | |
| tree | 7149ef9ebe27900163a50121020b186dc30e9158 /src/bootstrap/lib.rs | |
| parent | 20f892f549a9309d61c76a78cf948918507c4e39 (diff) | |
| parent | 09d90e52682641e5d6d0a70e42011fd24ced1434 (diff) | |
| download | rust-6bc8ca06c15bab082a00e62a2bc8805741871d7e.tar.gz rust-6bc8ca06c15bab082a00e62a2bc8805741871d7e.zip | |
Rollup merge of #44694 - tommyip:make_clean, r=Mark-Simulacrum
Add --all flag to ./x.py clean This make `clean` removes the LLVM and download cache directory as well. Fixes #44214. r? @Mark-Simulacrum
Diffstat (limited to 'src/bootstrap/lib.rs')
| -rw-r--r-- | src/bootstrap/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index 83aa08366df..2d721f45578 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -345,8 +345,8 @@ impl Build { job::setup(self); } - if let Subcommand::Clean = self.config.cmd { - return clean::clean(self); + if let Subcommand::Clean { all } = self.config.cmd { + return clean::clean(self, all); } self.verbose("finding compilers"); |
