mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +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 {
|
match message {
|
||||||
Message::BuildScriptExecuted(mut message) => {
|
Message::BuildScriptExecuted(mut message) => {
|
||||||
with_output_for(&message.package_id.repr, &mut |name, data| {
|
with_output_for(&message.package_id.repr, &mut |name, data| {
|
||||||
progress(format!(
|
progress(format!("build script {name} run"));
|
||||||
"building compile-time-deps: build script {name} run"
|
|
||||||
));
|
|
||||||
let cfgs = {
|
let cfgs = {
|
||||||
let mut acc = Vec::new();
|
let mut acc = Vec::new();
|
||||||
for cfg in &message.cfgs {
|
for cfg in &message.cfgs {
|
||||||
@ -380,9 +378,7 @@ impl WorkspaceBuildScripts {
|
|||||||
}
|
}
|
||||||
Message::CompilerArtifact(message) => {
|
Message::CompilerArtifact(message) => {
|
||||||
with_output_for(&message.package_id.repr, &mut |name, data| {
|
with_output_for(&message.package_id.repr, &mut |name, data| {
|
||||||
progress(format!(
|
progress(format!("proc-macro {name} built"));
|
||||||
"building compile-time-deps: proc-macro {name} built"
|
|
||||||
));
|
|
||||||
if data.proc_macro_dylib_path == ProcMacroDylibPath::NotBuilt {
|
if data.proc_macro_dylib_path == ProcMacroDylibPath::NotBuilt {
|
||||||
data.proc_macro_dylib_path = ProcMacroDylibPath::NotProcMacro;
|
data.proc_macro_dylib_path = ProcMacroDylibPath::NotProcMacro;
|
||||||
}
|
}
|
||||||
|
@ -812,7 +812,7 @@ impl GlobalState {
|
|||||||
};
|
};
|
||||||
|
|
||||||
if let Some(state) = state {
|
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) => {
|
Task::LoadProcMacros(progress) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user