diff options
| author | Chris Denton <christophersdenton@gmail.com> | 2021-10-31 16:08:12 +0000 |
|---|---|---|
| committer | Chris Denton <christophersdenton@gmail.com> | 2021-10-31 16:09:35 +0000 |
| commit | 9212f4070ecaf4277de5f268f2ddfe56585be745 (patch) | |
| tree | ccfb940522559e68ae7f47cff6847b8b6e9e4f2b /compiler/rustc_mir_transform/src/coverage/mod.rs | |
| parent | 68b554e6af18726fe6fa8de2134c59c441e0b019 (diff) | |
| download | rust-9212f4070ecaf4277de5f268f2ddfe56585be745.tar.gz rust-9212f4070ecaf4277de5f268f2ddfe56585be745.zip | |
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).
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions
