From 232d1fe78980d7ff58e7d47ffea3d5963a913149 Mon Sep 17 00:00:00 2001 From: Macdonald Umoren Date: Wed, 16 Sep 2020 20:50:33 -0400 Subject: [PATCH] debug-logging=true instead of debug-assertions=yes --- src/compiler-debugging.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler-debugging.md b/src/compiler-debugging.md index 9c69b1511..e4b04aa96 100644 --- a/src/compiler-debugging.md +++ b/src/compiler-debugging.md @@ -207,10 +207,10 @@ $ RUSTDOC_LOG=rustdoc rustdoc +local my-file.rs While calls to `error!`, `warn!` and `info!` are included in every build of the compiler, calls to `debug!` and `trace!` are only included in the program if -`debug-assertions=yes` is turned on in config.toml (it is +`debug-logging=true` is turned on in config.toml (it is turned off by default), so if you don't see `DEBUG` logs, especially if you run the compiler with `RUSTC_LOG=rustc rustc some.rs` and only see -`INFO` logs, make sure that `debug-assertions=yes` is turned on in your +`INFO` logs, make sure that `debug-logging=true` is turned on in your config.toml. In some cases, just setting it will not trigger a rebuild,