mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 07:45:58 +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`