Rollup merge of #134123 - Zalathar:json-output, r=jieyouxu,clubby789

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 #134040.

r? clubby789
This commit is contained in:
León Orell Valerian Liehr 2024-12-10 13:51:14 +01:00 committed by GitHub
commit c42c248009
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)
}