mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 03:37:26 +03:00
c3190c1eb4
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`