mirror of
https://github.com/notohh/rustlings.git
synced 2024-10-30 16:59:12 -04:00
Add color=always to rustc options
This commit is contained in:
parent
e0ee5f1d7f
commit
f18590f0a1
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ fn compile_only(filename: &str) {
|
||||||
bar.set_message(format!("Compiling {}...", filename).as_str());
|
bar.set_message(format!("Compiling {}...", filename).as_str());
|
||||||
bar.enable_steady_tick(100);
|
bar.enable_steady_tick(100);
|
||||||
let compilecmd = Command::new("rustc")
|
let compilecmd = Command::new("rustc")
|
||||||
.args(&[filename, "-o", "temp"])
|
.args(&[filename, "-o", "temp", "--color", "always"])
|
||||||
.output()
|
.output()
|
||||||
.expect("fail");
|
.expect("fail");
|
||||||
bar.finish_and_clear();
|
bar.finish_and_clear();
|
||||||
|
|
Loading…
Reference in a new issue