Skip to content

Commit

Permalink
Clear out std, not std tools
Browse files Browse the repository at this point in the history
This was a typo that slipped in, and meant that we were still not properly
clearing out std.
  • Loading branch information
Mark-Simulacrum committed Jan 24, 2020
1 parent e0bbe79 commit 1cbb5d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/builder.rs
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 1cbb5d8

Please sign in to comment.