Closed
Description
When using x.py --json-output
, I would expect JSON output to be basically the same as standard cargo. However, that does not seem to be the case: an analysis of rust-lang/rust-analyzer#4827 by @bjorn3 revealed that CompilerArtifact
are not propagated properly.
Activity
Mark-Simulacrum commentedon Jun 10, 2020
Problem is here: https://github.com/rust-lang/rust/blob/master/src/bootstrap/compile.rs#L985-L989
Those lines should probably be modified such that we unconditionally print the received line if the
--json-output
flag is passed?bjorn3 commentedon Jun 10, 2020
Yes
Rollup merge of rust-lang#73219 - RalfJung:cargo-json, r=Mark-Simulacrum
Rollup merge of rust-lang#73219 - RalfJung:cargo-json, r=Mark-Simulacrum