Skip to content

Commit 320119c

Browse files
author
liv
committed
add "--color always" to the other rustc commands
1 parent df3389c commit 320119c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/run.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub fn run(matches: clap::ArgMatches) {
1717
bar.set_message(format!("Compiling {}...", filename).as_str());
1818
bar.enable_steady_tick(100);
1919
let compilecmd = Command::new("rustc")
20-
.args(&[filename, "-o", "temp"])
20+
.args(&[filename, "-o", "temp", "--color", "always"])
2121
.output()
2222
.expect("fail");
2323
bar.set_message(format!("Running {}...", filename).as_str());

src/verify.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ pub fn test(filename: &str) -> Result<(), ()> {
8484
bar.set_message(format!("Testing {}...", filename).as_str());
8585
bar.enable_steady_tick(100);
8686
let testcmd = Command::new("rustc")
87-
.args(&["--test", filename, "-o", "temp"])
87+
.args(&["--test", filename, "-o", "temp", "--color", "always"])
8888
.output()
8989
.expect("fail");
9090
bar.finish_and_clear();

0 commit comments

Comments
 (0)