about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-08-30 23:18:34 +0000
committerbors <bors@rust-lang.org>2015-08-30 23:18:34 +0000
commitfe9cef7dae8732897820c0e4ca65bc7ee33604be (patch)
tree8a1d572ef7a2a0c872c00cc7b47c7afc2395e291 /src/libstd/sys/unix/stack_overflow.rs
parent2aa7f97c7a069c5650ab8eb7f31b8a2dae33c3f7 (diff)
parent71f39c1a2fd98f829a6087a7f4a47a857571493c (diff)
downloadrust-fe9cef7dae8732897820c0e4ca65bc7ee33604be.tar.gz
rust-fe9cef7dae8732897820c0e4ca65bc7ee33604be.zip
Auto merge of #27983 - barosl:respect-color, r=nrc
Currently, `early_error` and `early_warn` in `librustc::session` always use `ColorConfig::Auto`. Modify them to follow the color configuration set by the `--color` option.

As colored output is also printed during the early stage, parsing the `--color` option should be done as early as possible. However, there are still some cases when the output needs to be colored before knowing the exact color settings. In these cases, it will be defaulted to `ColorConfig::Auto`, which is the same as before.

Fixes #27879.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions