diff options
| author | bors <bors@rust-lang.org> | 2014-05-19 23:41:20 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-05-19 23:41:20 -0700 |
| commit | 629195582b39a4956cd62439911f0094cf3878c6 (patch) | |
| tree | 47137ace900116cf0c9de8e83359599afc7d6240 /src/rustllvm/RustWrapper.cpp | |
| parent | ec8ec54192cdc47a22f4fec8b636354e8db0b6a7 (diff) | |
| parent | b991bbe2d0f148d25d00a8c17bfa6304d1b1ae5a (diff) | |
| download | rust-629195582b39a4956cd62439911f0094cf3878c6.tar.gz rust-629195582b39a4956cd62439911f0094cf3878c6.zip | |
auto merge of #14296 : kballard/rust/diagnostic_color_newline, r=alexcrichton
When printing colored diagnostics, we need to reset the terminal before emitting the newline, not after. Otherwise it gets line-buffered and the color won't reset until the next line is printed or the compiler exits. Normally this isn't a problem, but when running rustc in parallel with other processes (e.g. `make -j4`) this can cause the color to leak to other lines.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
