Skip to content

Commit

Permalink
Adjust informational message
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Mar 16, 2022
1 parent 000317c commit e7ae412
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion utils/testing/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,10 @@ fn rustc_flags(metadata: &Metadata, package: &Package, target: &Target) -> Resul
let output = {
remove_example(metadata, package, target)?;

cargo::build(&format!("example `{}`", target.name), false)
// smoelius: Because of lazy initialization, `cargo build` is run only once. Seeing
// "Building example `target`" for one example but not for others is confusing. So instead
// say "Building `package` examples".
cargo::build(&format!("`{}` examples", package.name), false)
.envs(vec![(env::CARGO_TERM_COLOR, "never")])
.args(&[
"--manifest-path",
Expand Down

0 comments on commit e7ae412

Please sign in to comment.