Stream: t-compiler

Topic: debug! and debug-assertions


mikeyhew (Aug 30 2019 at 22:35, on Zulip):

Did something changes with the debug-assertions entry in config.toml change in the last 6 months? I can't get debug! output anymore with RUST_LOG=debug build/x86*/stage1/bin/rustc foo.rs

Matthew Jasper (Aug 30 2019 at 22:36, on Zulip):

The environment variable is RUSTC_LOG now

mikeyhew (Aug 30 2019 at 22:38, on Zulip):

Oh. Thanks, you're a lifesaver!

simulacrum (Aug 30 2019 at 22:42, on Zulip):

We should realistically be emitting a single message I feel on startup if we detect RUST_LOG for our crates

simulacrum (Aug 30 2019 at 22:42, on Zulip):

I imagine that wouldn't be too hard to implement, but I don't really know how env_logger et all work.

Last update: Nov 22 2019 at 04:30UTC