mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-28 21:05:13 +00:00
Auto merge of #13385 - Veykril:progress, r=Veykril
Don't report build-scripts and proc-macros as metadata progress Seems somewhat confusing to me, given `metadata` is already the step we do for workspace loading
This commit is contained in:
commit
ef014aac02
1 changed files with 3 additions and 1 deletions
|
@ -154,6 +154,8 @@ impl WorkspaceBuildScripts {
|
||||||
Some(&it) => it,
|
Some(&it) => it,
|
||||||
None => return,
|
None => return,
|
||||||
};
|
};
|
||||||
|
progress(format!("running build-script: {}", workspace[package].name));
|
||||||
|
|
||||||
let cfgs = {
|
let cfgs = {
|
||||||
let mut acc = Vec::new();
|
let mut acc = Vec::new();
|
||||||
for cfg in message.cfgs {
|
for cfg in message.cfgs {
|
||||||
|
@ -189,7 +191,7 @@ impl WorkspaceBuildScripts {
|
||||||
None => return,
|
None => return,
|
||||||
};
|
};
|
||||||
|
|
||||||
progress(format!("metadata {}", message.target.name));
|
progress(format!("building proc-macros: {}", message.target.name));
|
||||||
|
|
||||||
if message.target.kind.iter().any(|k| k == "proc-macro") {
|
if message.target.kind.iter().any(|k| k == "proc-macro") {
|
||||||
// Skip rmeta file
|
// Skip rmeta file
|
||||||
|
|
Loading…
Reference in a new issue