Add color=always to rustc options

This commit is contained in:
Erik Vesteraas 2018-11-26 10:54:08 +01:00
parent e0ee5f1d7f
commit f18590f0a1

View File

@ -137,7 +137,7 @@ fn compile_only(filename: &str) {
bar.set_message(format!("Compiling {}...", filename).as_str());
bar.enable_steady_tick(100);
let compilecmd = Command::new("rustc")
.args(&[filename, "-o", "temp"])
.args(&[filename, "-o", "temp", "--color", "always"])
.output()
.expect("fail");
bar.finish_and_clear();