Skip to content

Commit 4db0f08

Browse files
committed
Fix Windows build
1 parent 17ced2e commit 4db0f08

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

library/std/src/sys/thread_local/key/windows.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ impl LazyKey {
126126
}
127127
}
128128
}
129+
130+
pub fn register_process_dtor(&'static self) {
131+
// On Windows destructor registration is performed in LazyKey::init.
132+
}
129133
}
130134

131135
unsafe impl Send for LazyKey {}

0 commit comments

Comments
 (0)