mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 04:55:22 +03:00
cbfa61282f
The registration of `panicking::on_panic` as a general-purpose callback is overcomplicated and can fail. Instead, invoking it explicitly removes the need for locking and paves the way for further improvements.