Skip to content

Commit

Permalink
Auto merge of rust-lang#13385 - Veykril:progress, r=Veykril
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bors committed Oct 10, 2022
2 parents 4ac3f2c + fd9cd84 commit ef014aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/project-model/src/build_scripts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ impl WorkspaceBuildScripts {
Some(&it) => it,
None => return,
};
progress(format!("running build-script: {}", workspace[package].name));

let cfgs = {
let mut acc = Vec::new();
for cfg in message.cfgs {
Expand Down Expand Up @@ -189,7 +191,7 @@ impl WorkspaceBuildScripts {
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") {
// Skip rmeta file
Expand Down

0 comments on commit ef014aa

Please sign in to comment.