Skip to content

Commit 8cd7aaa

Browse files
committed
Remove unnecessary fixme
As the FIXME itself notes, there's nothing to fix here.
1 parent 3314d5c commit 8cd7aaa

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

library/std/src/sys/pal/windows/thread.rs

-5
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@ impl Thread {
2626
pub unsafe fn new(stack: usize, p: Box<dyn FnOnce()>) -> io::Result<Thread> {
2727
let p = Box::into_raw(Box::new(p));
2828

29-
// FIXME On UNIX, we guard against stack sizes that are too small but
30-
// that's because pthreads enforces that stacks are at least
31-
// PTHREAD_STACK_MIN bytes big. Windows has no such lower limit, it's
32-
// just that below a certain threshold you can't do anything useful.
33-
// That threshold is application and architecture-specific, however.
3429
let ret = c::CreateThread(
3530
ptr::null_mut(),
3631
stack,

0 commit comments

Comments
 (0)