//! Serializes tests that mutate process environment variables.
//!
//! Cargo runs test threads in parallel; without a shared lock, `$HOME`,
//! `OPTION_HOME`, `NO_COLOR`, etc. race across modules.
use ;
static ENV_LOCK: = new;
/// Hold this guard for the whole duration of any env read/write in a test.
pub