(SOLVED(?)) Log output from librustc_typeck


#1
RUST_LOG=trace rustc src/main.rs

doesn’t seem to include log info from librustc_typeck even though it has tons of debug!() invocations, and instead mostly just shows stuff from librustc_metadata and librustc_trans. Why is this?


#2

K, looks like librustc_driver provides a feature flag to log that disables everything below “Info” in release. I’ll have to build rustc in debug mode.

…uh, however one does that.

(goes off to start poking x.py with a stick)


Update: IRC helped point me to /config.toml.example which has a debug-assertions option that is clearly documented to enable debug!/trace!. Huzzah!