Skip to content

Commit 9589698

Browse files
committed
enable colored output from cargo build
1 parent 3d69bc1 commit 9589698

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ fn cargo_build(matches: &ArgMatches, metadata: &Metadata) -> Result<Option<Artif
414414
let (build_type, verbose) = cargo_build_args(matches, &mut cargo);
415415
let quiet = matches.get_flag("quiet");
416416

417-
cargo.arg("--message-format=json");
417+
cargo.arg("--message-format=json-diagnostic-rendered-ansi");
418418
cargo.stdout(Stdio::piped());
419419

420420
if verbose > 0 {

0 commit comments

Comments
 (0)