Slim down compile time artifact progress reports

This commit is contained in:
Lukas Wirth 2025-08-05 10:45:54 +02:00
parent 68e7ec90bf
commit 34ce0b5063
2 changed files with 3 additions and 7 deletions

View File

@ -347,9 +347,7 @@ impl WorkspaceBuildScripts {
match message {
Message::BuildScriptExecuted(mut message) => {
with_output_for(&message.package_id.repr, &mut |name, data| {
progress(format!(
"building compile-time-deps: build script {name} run"
));
progress(format!("build script {name} run"));
let cfgs = {
let mut acc = Vec::new();
for cfg in &message.cfgs {
@ -380,9 +378,7 @@ impl WorkspaceBuildScripts {
}
Message::CompilerArtifact(message) => {
with_output_for(&message.package_id.repr, &mut |name, data| {
progress(format!(
"building compile-time-deps: proc-macro {name} built"
));
progress(format!("proc-macro {name} built"));
if data.proc_macro_dylib_path == ProcMacroDylibPath::NotBuilt {
data.proc_macro_dylib_path = ProcMacroDylibPath::NotProcMacro;
}

View File

@ -812,7 +812,7 @@ impl GlobalState {
};
if let Some(state) = state {
self.report_progress("Building build-artifacts", state, msg, None, None);
self.report_progress("Building compile-time-deps", state, msg, None, None);
}
}
Task::LoadProcMacros(progress) => {