about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/mod.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-11-02 12:15:08 +0000
committerbors <bors@rust-lang.org>2021-11-02 12:15:08 +0000
commitc3190c1eb4c982b1d419ae0632bad07a3b306b48 (patch)
treee7b49a40ef2ca0d388583317a9bbe85a1f031e16 /compiler/rustc_mir_transform/src/coverage/mod.rs
parent6384dca100f3cedfa031a9204586f94f8612eae5 (diff)
parent1048651fa3d0c8d5ac98a616810d1cf2b1fe80c0 (diff)
downloadrust-c3190c1eb4c982b1d419ae0632bad07a3b306b48.tar.gz
rust-c3190c1eb4c982b1d419ae0632bad07a3b306b48.zip
Auto merge of #90442 - ChrisDenton:win-tls-dtor, r=alexcrichton
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`
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions