Skip to content

Commit 930797d

Browse files
committed
Note that MIRI_LOG_COLOR only applies to logs from Miri
1 parent 0dede7a commit 930797d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/compiler-debugging.md

+4
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,10 @@ similar to this command:
247247
$ RUSTC_LOG=debug RUSTC_LOG_COLOR=always rustc +stage1 ... | less -R
248248
```
249249
250+
Note that `MIRI_LOG_COLOR` will only color logs that come from Miri, not logs
251+
from rustc functions that Miri calls. Use `RUSTC_LOG_COLOR` to color logs from
252+
rustc.
253+
250254
### How to keep or remove `debug!` and `trace!` calls from the resulting binary
251255
252256
While calls to `error!`, `warn!` and `info!` are included in every build of the compiler,

0 commit comments

Comments
 (0)