Don't remove color information from rendered string in --message-format=json
output
#6994
Labels
A-diagnostics
Area: Error and warning messages generated by Cargo itself.
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Describe the problem you are trying to solve
I'm trying to support new build tool window for IntelliJ Rust:
I use
--message-format=json
option, but unfortunately the rendered string doesn't contain color information.Describe the solution you'd like
I would like to use
--color=always
option (or some new one) to include color information.Notes
I think this is the place where it can be fixed:
cargo/src/cargo/core/compiler/mod.rs
Lines 1222 to 1238 in 9be4594
The text was updated successfully, but these errors were encountered: