Function std::sys::common::thread_local::abort_on_dtor_unwind
source · pub fn abort_on_dtor_unwind(f: impl FnOnce())🔬This is a nightly-only experimental API. (
thread_local_internals)Expand description
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.