mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-01 20:31:59 +00:00
Improve flycheck and build script progress reporting
This commit is contained in:
parent
da1888a75c
commit
4ee90e97f6
2 changed files with 12 additions and 3 deletions
|
|
@ -312,7 +312,9 @@ impl WorkspaceBuildScripts {
|
|||
match message {
|
||||
Message::BuildScriptExecuted(mut message) => {
|
||||
with_output_for(&message.package_id.repr, &mut |name, data| {
|
||||
progress(format!("running build-script: {name}"));
|
||||
progress(format!(
|
||||
"building compile-time-deps: build script {name} run"
|
||||
));
|
||||
let cfgs = {
|
||||
let mut acc = Vec::new();
|
||||
for cfg in &message.cfgs {
|
||||
|
|
@ -343,7 +345,9 @@ impl WorkspaceBuildScripts {
|
|||
}
|
||||
Message::CompilerArtifact(message) => {
|
||||
with_output_for(&message.package_id.repr, &mut |name, data| {
|
||||
progress(format!("building proc-macros: {name}"));
|
||||
progress(format!(
|
||||
"building compile-time-deps: proc-macro {name} built"
|
||||
));
|
||||
if message.target.kind.contains(&cargo_metadata::TargetKind::ProcMacro)
|
||||
{
|
||||
// Skip rmeta file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue