about summary refs log tree commit diff
path: root/library/std
diff options
context:
space:
mode:
authorChris Denton <chris@chrisdenton.dev>2024-03-06 15:34:33 +0000
committerChris Denton <chris@chrisdenton.dev>2024-03-06 15:34:33 +0000
commit8cd7aaa105e06f99cbad3e9db677eedec1f2c4b4 (patch)
treecd59ff0e761fddbcc66e5a47654d9f8abef841b9 /library/std
parent3314d5ce4c209e840c2e4b2c4442f6e031ae0989 (diff)
downloadrust-8cd7aaa105e06f99cbad3e9db677eedec1f2c4b4.tar.gz
rust-8cd7aaa105e06f99cbad3e9db677eedec1f2c4b4.zip
Remove unnecessary fixme
As the FIXME itself notes, there's nothing to fix here.
Diffstat (limited to 'library/std')
-rw-r--r--library/std/src/sys/pal/windows/thread.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/library/std/src/sys/pal/windows/thread.rs b/library/std/src/sys/pal/windows/thread.rs
index a8f1e9b726b..601ba095aa4 100644
--- a/library/std/src/sys/pal/windows/thread.rs
+++ b/library/std/src/sys/pal/windows/thread.rs
@@ -26,11 +26,6 @@ impl Thread {
     pub unsafe fn new(stack: usize, p: Box<dyn FnOnce()>) -> io::Result<Thread> {
         let p = Box::into_raw(Box::new(p));
 
-        // FIXME On UNIX, we guard against stack sizes that are too small but
-        // that's because pthreads enforces that stacks are at least
-        // PTHREAD_STACK_MIN bytes big. Windows has no such lower limit, it's
-        // just that below a certain threshold you can't do anything useful.
-        // That threshold is application and architecture-specific, however.
         let ret = c::CreateThread(
             ptr::null_mut(),
             stack,