rust/tests/run-pass/env-exclude.rs

6 lines
153 B
Rust

// compile-flags: -Zmiri-disable-isolation -Zmiri-env-exclude=MIRI_ENV_VAR_TEST
fn main() {
assert!(std::env::var("MIRI_ENV_VAR_TEST").is_err());
}