1 error: deadlock: the evaluated program deadlocked
2 --> $DIR/windows_join_main.rs:LL:CC
4 LL | assert_eq!(WaitForSingleObject(MAIN_THREAD, INFINITE), 0);
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program deadlocked
7 = note: inside closure at RUSTLIB/core/src/macros/mod.rs:LL:CC
8 = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
10 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
12 error: aborting due to previous error