When invoking a locally-built rustc or rustdoc compiled with debug assertions, debug messages can be enabled by setting the environment variable RUST_LOG=debug.
When invoking rustc with RUST_LOG=debug, log message will be displayed from all internal crates (e.g. librustc, libsynax) as expected. However, when invoking rustdoc with RUST_LOG=debug, only messages from librustdoc are displayed, despite many other internal crates being used by rustdoc.
When invoking a locally-built
rustcorrustdoccompiled with debug assertions, debug messages can be enabled by setting the environment variableRUST_LOG=debug.When invoking
rustcwithRUST_LOG=debug, log message will be displayed from all internal crates (e.g.librustc,libsynax) as expected. However, when invokingrustdocwith RUST_LOG=debug, only messages fromlibrustdocare displayed, despite many other internal crates being used byrustdoc.