We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0bbe79 commit 1cbb5d8Copy full SHA for 1cbb5d8
src/bootstrap/builder.rs
@@ -874,7 +874,7 @@ impl<'a> Builder<'a> {
874
//
875
// Only clear out the directory if we're compiling std; otherwise, we
876
// should let Cargo take care of things for us (via depdep info)
877
- if !self.config.dry_run && mode == Mode::ToolStd && cmd == "build" {
+ if !self.config.dry_run && mode == Mode::Std && cmd == "build" {
878
self.clear_if_dirty(&out_dir, &self.rustc(compiler));
879
}
880
0 commit comments