mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-05 07:26:48 +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.