1 // compile-flags: --test
3 // run-flags: --test-threads=1
5 // exec-env:RUST_BACKTRACE=0
6 // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
7 // ignore-emscripten no threads support
12 std::thread::spawn(|| {
24 std::thread::spawn(|| {