rust/tests/run-pass/env-without-isolation.rs
2019-08-23 23:30:23 +02:00

7 lines
195 B
Rust

// ignore-windows: TODO env var emulation stubbed out on Windows
// compile-flags: -Zmiri-disable-isolation
fn main() {
assert_eq!(std::env::var("MIRI_ENV_VAR_TEST"), Ok("0".to_owned()));
}