Skip to content

Commit 103ed0e

Browse files
committed
bootstrap: switch from stream_cargo to try_run_quiet
It is unnecessary to stream cargo JSON output.
1 parent befa5c9 commit 103ed0e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: src/bootstrap/tool.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ impl Step for ToolBuild {
119119
&self.target,
120120
);
121121
builder.info(&msg);
122-
let is_expected = compile::stream_cargo(builder, cargo, vec![], &mut |_msg| {
123-
return;
124-
});
122+
123+
let mut cargo = Command::from(cargo);
124+
let is_expected = builder.try_run_quiet(&mut cargo);
125125

126126
builder.save_toolstate(
127127
tool,

0 commit comments

Comments
 (0)