🔬This is a nightly-only experimental API. (
thread_local_internals)Expand description
A lot of UNIX platforms don’t have a specialized way to register TLS destructors for native TLS
(i.e., #[thread_local] static). Instead, we use one TLS key with a destructor that will run
all native TLS destructors in the destructor list. It also runs rt::thread_cleanup.
Functions§
- enable
Experimental target_thread_local