I often use tup / ninja as build systems which pipe input into an internal buffer and only later send it to stdout,
Rustc disables coloring when it's piped into any other source. Hence, I lose all coloring when using rust with tup.
Clang has the same behaviour by default, but provides a compiler flag -f-color-diagnostics which forces colored output to be emitted. This would be really useful to have in rustc. It makes debugging and in general compiling far more pleasant.
Thanks!
I often use tup / ninja as build systems which pipe input into an internal buffer and only later send it to
stdout,Rustc disables coloring when it's piped into any other source. Hence, I lose all coloring when using rust with tup.
Clang has the same behaviour by default, but provides a compiler flag
-f-color-diagnosticswhich forces colored output to be emitted. This would be really useful to have in rustc. It makes debugging and in general compiling far more pleasant.Thanks!