mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
b960de0984
This test has been deadlocking and causing problems on the bots basically since its inception. Some memory safety issues were fixed in987dc84b, but the deadlocks remained afterwards unfortunately. After some investigation, I've concluded that this is just a situation where OSX is not guaranteed to run destructors. The fix in987dc84bobserved that OSX was rewriting the backing TLS memory to its initial state during destruction while we weren't looking, and this would have the effect of canceling the destructors of any other initialized TLS slots. While very difficult to pin down, this is basically what I assume is happening here, so there doesn't seem to really be anythig we can do to ensure the test robustly passes on OSX, so just ignore it for now.