From ad4f335847daffcc5556008aebebaf2d1eecac67 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 12 Jul 2018 14:02:03 -0400 Subject: [PATCH] Add color to rustc output (except windows) --- build_extra/rust/rust.gni | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build_extra/rust/rust.gni b/build_extra/rust/rust.gni index d9c23fb1bb..58f112d390 100644 --- a/build_extra/rust/rust.gni +++ b/build_extra/rust/rust.gni @@ -43,6 +43,9 @@ template("run_rustc") { "--crate-name=$crate_name", "--crate-type=$crate_type", ] + if (!is_win) { + args += [ "--color=always" ] + } if (defined(is_test) && is_test) { # Test outputs are executables which should be in root_out_dir.