mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 05:52:23 -05:00
Merge pull request #98 from evestera/rustc-color-always
Propagate colored output from rustc
This commit is contained in:
commit
a15b276d96
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,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();
|
||||
|
|
Loading…
Reference in a new issue