1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-06-29 00:41:42 +02:00

add "--color always" to the other rustc commands

This commit is contained in:
liv
2019-01-25 15:11:23 +01:00
parent df3389cfb0
commit 320119ce96
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ pub fn run(matches: clap::ArgMatches) {
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.set_message(format!("Running {}...", filename).as_str());