Skip to content

Commit

Permalink
bootstrap: switch from stream_cargo to try_run_quiet
Browse files Browse the repository at this point in the history
It is unnecessary to stream cargo JSON output.
  • Loading branch information
weihanglo committed Apr 16, 2023
1 parent befa5c9 commit 103ed0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bootstrap/tool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ impl Step for ToolBuild {
&self.target,
);
builder.info(&msg);
let is_expected = compile::stream_cargo(builder, cargo, vec![], &mut |_msg| {
return;
});

let mut cargo = Command::from(cargo);
let is_expected = builder.try_run_quiet(&mut cargo);

builder.save_toolstate(
tool,
Expand Down

0 comments on commit 103ed0e

Please sign in to comment.