Output rustc debug while compiling


#1

Hi everbody,

While compiling a file, I’m trying to look at all the debug output (written as debug! in the source of rustc), but I’m not managing with RUST_LOG=debug rustc main.rs . Is there an easier way to do it ?

Thanks.


#2

Actually, I was just needing to compile rustc from source with debug_assertions=true in the configuration.toml. This is fixed now (and I used RUST_LOG=rustc_borrowck=debug ./rustc in order to deactivate the other debug assertions that are not related to the borrow checker).