Skip to content

Commit a92227a

Browse files
committed
enable colored output from cargo build
1 parent a0a89ba commit a92227a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)