Skip to content

Commit

Permalink
Rollup merge of rust-lang#134123 - Zalathar:json-output, r=jieyouxu,c…
Browse files Browse the repository at this point in the history
…lubby789

bootstrap: Forward cargo JSON output to stdout, not stderr

This fixes the RA errors I've been seeing on proc-macros after the re-landing of rust-lang#134040.

r? clubby789
  • Loading branch information
fmease authored Dec 10, 2024
2 parents 0f1b827 + 604ba92 commit c42c248
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 c42c248

Please sign in to comment.