mirror of
https://github.com/rust-lang/rust.git
synced 2026-01-21 19:10:33 +00:00
Return unexpected termination error instead of panicing in `Thread::join` There is a time window during which the OS can terminate a thread before stdlib can retreive its `Packet`. Currently the `Thread::join` panics with no message in such an event, which makes debugging difficult; fixes #124466.