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.