Stream: t-compiler/help

Topic: Turning on `trace!` output


Samrat Man Singh (Apr 16 2020 at 11:47, on Zulip):

How can I turn on printing of trace!s? Setting debug=true in Config.toml did not help.

bjorn3 (Apr 16 2020 at 11:52, on Zulip):

I think you need debug-assertions = true.

oli (Apr 16 2020 at 12:01, on Zulip):

also you need to use RUSTC_LOG instead of RUST_LOG

eddyb (Apr 16 2020 at 12:07, on Zulip):

debug = true should imply debug-assertions = true so I'm guessing the env var name is the problem

Samrat Man Singh (Apr 16 2020 at 13:22, on Zulip):

Thanks. Setting RUSTC_LOG worked

Last update: Jan 22 2021 at 13:30UTC