1
Fork 0

Avoid unwind across extern "C" in thread_local::fast_local.rs

This commit is contained in:
Thom Chiovoloni 2023-06-04 14:54:28 -07:00
parent 398fa2187c
commit 70e1dc9967
No known key found for this signature in database
3 changed files with 33 additions and 12 deletions

View file

@ -206,7 +206,7 @@ cfg_if::cfg_if! {
#[doc(hidden)]
#[unstable(feature = "thread_local_internals", issue = "none")]
pub mod local_impl {
pub use crate::sys::common::thread_local::{thread_local_inner, Key};
pub use crate::sys::common::thread_local::{thread_local_inner, Key, abort_on_dtor_unwind};
}
}
}