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.
1 parent c1cec3b commit f4a25e5Copy full SHA for f4a25e5
tests/run-pass/env-exclude.rs
@@ -0,0 +1,6 @@
1
+// ignore-windows: TODO env var emulation stubbed out on Windows
2
+// compile-flags: -Zmiri-disable-isolation -Zmiri-env-exclude=MIRI_ENV_VAR_TEST
3
+
4
+fn main() {
5
+ assert!(std::env::var("MIRI_ENV_VAR_TEST").is_err());
6
+}
0 commit comments