Skip to content

Commit 1cbb5d8

Browse files
Clear out std, not std tools
This was a typo that slipped in, and meant that we were still not properly clearing out std.
1 parent e0bbe79 commit 1cbb5d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/builder.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ impl<'a> Builder<'a> {
874874
//
875875
// Only clear out the directory if we're compiling std; otherwise, we
876876
// should let Cargo take care of things for us (via depdep info)
877-
if !self.config.dry_run && mode == Mode::ToolStd && cmd == "build" {
877+
if !self.config.dry_run && mode == Mode::Std && cmd == "build" {
878878
self.clear_if_dirty(&out_dir, &self.rustc(compiler));
879879
}
880880

0 commit comments

Comments
 (0)