Skip to content

Commit 232d1fe

Browse files
author
Macdonald Umoren
committed
debug-logging=true instead of debug-assertions=yes
1 parent be58aab commit 232d1fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/compiler-debugging.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,10 @@ $ RUSTDOC_LOG=rustdoc rustdoc +local my-file.rs
207207
208208
While calls to `error!`, `warn!` and `info!` are included in every build of the compiler,
209209
calls to `debug!` and `trace!` are only included in the program if
210-
`debug-assertions=yes` is turned on in config.toml (it is
210+
`debug-logging=true` is turned on in config.toml (it is
211211
turned off by default), so if you don't see `DEBUG` logs, especially
212212
if you run the compiler with `RUSTC_LOG=rustc rustc some.rs` and only see
213-
`INFO` logs, make sure that `debug-assertions=yes` is turned on in your
213+
`INFO` logs, make sure that `debug-logging=true` is turned on in your
214214
config.toml.
215215
216216
In some cases, just setting it will not trigger a rebuild,

0 commit comments

Comments
 (0)