Skip to main content

DIR_MUTEX

Static DIR_MUTEX 

Source
pub static DIR_MUTEX: Mutex<()>
Expand description

Global mutex for serializing tests that change the current working directory. Tests that call std::env::set_current_dir() should acquire this lock to prevent race conditions when running tests in parallel.