Hi, I’m trying to make a build system for Rust and to enable debuging, but to do that I need a few things.
RUST_LOG environment variable needs a format of $file_base_name=4. See more here: github.com/mozilla/rust/wiki/Doc-usage-FAQ
The problem is that emitting $file_base_name doesn’t work as it should. If I set env like this:
"env": {"RUST_LOG":"$file_base_name=4"},
It doesn’t work. If I set it as this however
"env": {"RUST_LOG":"xml=4"},
It works nicely for that file (xml.rs). So I know env works, but only when manually set.
Is there a way to debug what environement has? Or what if there is a way around this problem?
This is Sublime build 3047 on x64 Windows 7.