about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.rs
diff options
context:
space:
mode:
authorCamelid <camelidcamel@gmail.com>2020-10-30 14:11:46 -0700
committerCamelid <camelidcamel@gmail.com>2020-10-30 14:11:46 -0700
commit8ad1a1cf398622e6e179726aeadaf19cca7677d9 (patch)
tree312773a5bd1335733540cf5d70311f82f050e467 /compiler/rustc_mir/src/transform/coverage/debug.rs
parentd282aca273d9a765b32d38db85d2e1ce7d588a1f (diff)
downloadrust-8ad1a1cf398622e6e179726aeadaf19cca7677d9.tar.gz
rust-8ad1a1cf398622e6e179726aeadaf19cca7677d9.zip
driver: Add env var to control log colors
The log color variable is whatever the log variable is (`RUSTC_LOG`,
`RUSTDOC_LOG`, `MIRI_LOG`, etc.) + `_COLOR`. So `RUSTC_LOG_COLOR`,
`RUSTDOC_LOG_COLOR`, `MIRI_LOG_COLOR`, etc.

Thanks to @RalfJung for suggesting this! It was much easier to implement
than adding a new unstable argument, which is what I tried before.
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions