Skip to content

Commit

Permalink
Rollup merge of rust-lang#68500 - Mark-Simulacrum:fix-bootstrap-clear…
Browse files Browse the repository at this point in the history
…ing, r=alexcrichton

Clear out std, not std tools

This was a typo that slipped in, and meant that we were still not properly
clearing out std.

This is basically rust-lang#67760 but actually correct...
  • Loading branch information
tmandry authored Jan 24, 2020
2 parents a7e2ac4 + 1cbb5d8 commit 7f8a61d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ impl<'a> Builder<'a> {
//
// Only clear out the directory if we're compiling std; otherwise, we
// should let Cargo take care of things for us (via depdep info)
if !self.config.dry_run && mode == Mode::ToolStd && cmd == "build" {
if !self.config.dry_run && mode == Mode::Std && cmd == "build" {
self.clear_if_dirty(&out_dir, &self.rustc(compiler));
}

Expand Down

0 comments on commit 7f8a61d

Please sign in to comment.