Function abort_on_dtor_unwind
pub(in ::sys::thread_local) fn abort_on_dtor_unwind(f: impl FnOnce())
Run a callback in a scenario which must not unwind (such as a extern "C" fn declared in a user crate). If the callback unwinds anyway, then
rtabort with a message about thread local panicking on drop.