mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-30 04:55:30 +00:00
Windows thread-local keyless drop `#[thread_local]` allows us to maintain a per-thread list of destructors. This also avoids the need to synchronize global data (which is particularly tricky within the TLS callback function). r? `@alexcrichton`