cc https://github.com/rust-lang/rust/pull/42684 One can use a static Mutex to sequentialise tests, but this is not documented, afaik.