]> git.lizzy.rs Git - rust.git/blobdiff - src/bootstrap/compile.rs
Support `x clean --stage 1 rustc_query_impl`
[rust.git] / src / bootstrap / compile.rs
index 1030247b890c36c742428e10e4465a1bfc1f259a..5bf5683f85deac0d7faa0903c1b3ed139d0cc572 100644 (file)
@@ -18,6 +18,7 @@
 
 use serde::Deserialize;
 
+use crate::builder::crate_description;
 use crate::builder::Cargo;
 use crate::builder::{Builder, Kind, RunConfig, ShouldRun, Step};
 use crate::cache::{Interned, INTERNER};
@@ -128,8 +129,11 @@ fn run(self, builder: &Builder<'_>) {
         std_cargo(builder, target, compiler.stage, &mut cargo);
 
         builder.info(&format!(
-            "Building stage{} std artifacts ({} -> {})",
-            compiler.stage, &compiler.host, target
+            "Building stage{} std artifacts ({} -> {}){}",
+            compiler.stage,
+            &compiler.host,
+            target,
+            crate_description(self.crates),
         ));
         run_cargo(
             builder,
@@ -715,8 +719,11 @@ fn run(self, builder: &Builder<'_>) {
         }
 
         builder.info(&format!(
-            "Building stage{} compiler artifacts ({} -> {})",
-            compiler.stage, &compiler.host, target
+            "Building stage{} compiler artifacts ({} -> {}){}",
+            compiler.stage,
+            &compiler.host,
+            target,
+            crate_description(self.crates),
         ));
         run_cargo(
             builder,