blob: 8b4b907a51dd54a2dec851b657c2f1c932942c7f [file] [log] [blame]
//@compile-flags: -Zmiri-disable-isolation
use std::env;
fn main() {
// Remove the env vars to hit the underlying shim -- except
// on android where the env var is all we have.
#[cfg(not(target_os = "android"))]
env::remove_var("HOME");
env::remove_var("USERPROFILE");
#[allow(deprecated)]
env::home_dir().unwrap();
}