We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CC_ENABLE_DEBUG_OUTPUT
1 parent 7e9730b commit 39c0aafCopy full SHA for 39c0aaf
src/command_helpers.rs
@@ -44,7 +44,10 @@ impl CargoOutput {
44
metadata: true,
45
warnings: true,
46
output: OutputKind::Forward,
47
- debug: std::env::var_os("CC_ENABLE_DEBUG_OUTPUT").is_some(),
+ debug: match std::env::var_os("CC_ENABLE_DEBUG_OUTPUT") {
48
+ Some(v) => v != "0",
49
+ None => false,
50
+ },
51
checked_dbg_var: Arc::new(AtomicBool::new(false)),
52
}
53
0 commit comments