mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 11:20:54 +00:00
Slim down compile time artifact progress reports
This commit is contained in:
parent
68e7ec90bf
commit
34ce0b5063
@ -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;
|
||||
}
|
||||
|
@ -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) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user