rust/tests/pass/env/var-without-isolation.rs

6 lines
130 B
Rust

//@compile-flags: -Zmiri-disable-isolation
fn main() {
assert_eq!(std::env::var("MIRI_ENV_VAR_TEST"), Ok("0".to_owned()));
}