Skip to content

Commit

Permalink
bootstrap: Forward cargo JSON output to stout, not stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
Zalathar committed Dec 10, 2024
1 parent b597d2a commit 604ba92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/src/core/build_steps/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2261,7 +2261,7 @@ pub fn stream_cargo(
Ok(msg) => {
if builder.config.json_output {
// Forward JSON to stdout.
eprintln!("{line}");
println!("{line}");
}
cb(msg)
}
Expand Down

0 comments on commit 604ba92

Please sign in to comment.