diff options
author | bors <bors@rust-lang.org> | 2022-12-27 13:04:08 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2022-12-27 13:04:08 +0000 |
commit | b38a6d373cb254697411147c0e49cd2e84864258 (patch) | |
tree | 61d79b29ee678b419587d5d3f8a69edf373e0170 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
parent | a1fc71196a5554eafc5dd9a1b4e0c159717141e0 (diff) | |
parent | 6d388a4ee33771784137d04186a5070df6f9f0cc (diff) | |
download | rust-b38a6d373cb254697411147c0e49cd2e84864258.tar.gz |
Auto merge of #106168 - jyn514:clean-crates, r=Mark-Simulacrum
Allow cleaning individual crates
As a bonus, this stops special casing `clean` in `Builder`.
## Motivation
Cleaning artifacts isn't strictly necessary to get cargo to rebuild; `touch compiler/rustc_driver/src/lib.rs` (for example) will also work. There's two reasons I thought making this part of bootstrap proper was a better approach:
1. `touch` does not *remove* artifacts, it just causes a rebuild. This is unhelpful for when you want to measure how long the compiler itself takes to build (e.g. for https://github.com/rust-lang/rust/issues/65031).
2. It seems a little more discoverable; and I want to extend it in the future to things like `x clean --stage 1 rustc`, which makes it easier to work around https://github.com/rust-lang/rust/issues/76720 without having to completely wipe all the stage 0 artifacts, or having to be intimately familiar with which directories to remove.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions