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 daf858b commit dbad0c8Copy full SHA for dbad0c8
library/std/src/sys/pal/windows/thread.rs
@@ -49,7 +49,7 @@ impl Thread {
49
50
unsafe extern "system" fn thread_start(main: *mut c_void) -> u32 {
51
// Next, reserve some stack space for if we otherwise run out of stack.
52
- unsafe { stack_overflow::reserve_stack() };
+ stack_overflow::reserve_stack();
53
// Finally, let's run some code.
54
// SAFETY: We are simply recreating the box that was leaked earlier.
55
// It's the responsibility of the one who call `Thread::new` to ensure this is safe to call here.
0 commit comments