diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2021-10-04 14:46:37 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2021-10-04 14:46:37 +0200 |
| commit | d26e192edd6dadd7bfb2a582933d20422d2cd862 (patch) | |
| tree | fa28e926b7650be0ef5ee7e5c79330b0e2aa0abe /src | |
| parent | a8387aef8c378a771686878062e544af4d5e2245 (diff) | |
| download | rust-d26e192edd6dadd7bfb2a582933d20422d2cd862.tar.gz rust-d26e192edd6dadd7bfb2a582933d20422d2cd862.zip | |
Don't rebuild GUI test crates every time you run test src/test/rustdoc-gui
Diffstat (limited to 'src')
| -rw-r--r-- | src/bootstrap/test.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index 272b7153111..7aca94b16ac 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -905,7 +905,7 @@ impl Step for RustdocGUI { let out_dir = builder.test_out(self.target).join("rustdoc-gui"); // We remove existing folder to be sure there won't be artifacts remaining. - let _ = fs::remove_dir_all(&out_dir); + builder.clear_if_dirty(&out_dir, &builder.rustdoc(self.compiler)); let src_path = builder.build.src.join("src/test/rustdoc-gui/src"); // We generate docs for the libraries present in the rustdoc-gui's src folder. |
