We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e562bcc commit 8879630Copy full SHA for 8879630
library/std/src/sys/thread_local/key/racy.rs
@@ -79,6 +79,7 @@ impl LazyKey {
79
},
80
};
81
82
+ // TODO: This must be called for every thread that uses this LazyKey once!
83
#[cfg(not(target_thread_local))]
84
if self.dtor.is_some() {
85
unsafe { register_dtor(self) };
0 commit comments