diff options
| author | Tommy Ip <hkmp7tommy@gmail.com> | 2017-09-20 18:14:19 +0100 |
|---|---|---|
| committer | Tommy Ip <hkmp7tommy@gmail.com> | 2017-09-20 18:14:19 +0100 |
| commit | 2c78bb49fde79e93b110a979f1f11b3f1221e1ef (patch) | |
| tree | 9d9f834f58df8d4262b051412942bc6f60c992e0 /src/bootstrap/lib.rs | |
| parent | 4cdb36262b93390c8733a1ce44665619d9348981 (diff) | |
| download | rust-2c78bb49fde79e93b110a979f1f11b3f1221e1ef.tar.gz rust-2c78bb49fde79e93b110a979f1f11b3f1221e1ef.zip | |
Add --all flag to ./x.py clean
This flag removes all build artifacts, including the LLVM build directory.
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 06c7c4c2faf..0876786f9a5 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"); |
