Skip to content

Commit 34ce0b5

Browse files
committed
Slim down compile time artifact progress reports
1 parent 68e7ec9 commit 34ce0b5

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

crates/project-model/src/build_dependencies.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -347,9 +347,7 @@ impl WorkspaceBuildScripts {
347347
match message {
348348
Message::BuildScriptExecuted(mut message) => {
349349
with_output_for(&message.package_id.repr, &mut |name, data| {
350-
progress(format!(
351-
"building compile-time-deps: build script {name} run"
352-
));
350+
progress(format!("build script {name} run"));
353351
let cfgs = {
354352
let mut acc = Vec::new();
355353
for cfg in &message.cfgs {
@@ -380,9 +378,7 @@ impl WorkspaceBuildScripts {
380378
}
381379
Message::CompilerArtifact(message) => {
382380
with_output_for(&message.package_id.repr, &mut |name, data| {
383-
progress(format!(
384-
"building compile-time-deps: proc-macro {name} built"
385-
));
381+
progress(format!("proc-macro {name} built"));
386382
if data.proc_macro_dylib_path == ProcMacroDylibPath::NotBuilt {
387383
data.proc_macro_dylib_path = ProcMacroDylibPath::NotProcMacro;
388384
}

crates/rust-analyzer/src/main_loop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ impl GlobalState {
812812
};
813813

814814
if let Some(state) = state {
815-
self.report_progress("Building build-artifacts", state, msg, None, None);
815+
self.report_progress("Building compile-time-deps", state, msg, None, None);
816816
}
817817
}
818818
Task::LoadProcMacros(progress) => {

0 commit comments

Comments
 (0)