From c6b16cc8610e4832968e6d02270ce307fbc20006 Mon Sep 17 00:00:00 2001 From: Vaibhav Gupta Date: Wed, 17 Sep 2025 18:40:10 +0530 Subject: [PATCH] net: clarify the supported platform of `set_reuseport()` and `reuseport()` (#7628) --- tokio/src/net/tcp/socket.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tokio/src/net/tcp/socket.rs b/tokio/src/net/tcp/socket.rs index f8d39e12a..ee61ba002 100644 --- a/tokio/src/net/tcp/socket.rs +++ b/tokio/src/net/tcp/socket.rs @@ -252,7 +252,7 @@ impl TcpSocket { } /// Allows the socket to bind to an in-use port. Only available for unix systems - /// (excluding Solaris & Illumos). + /// (excluding Solaris, Illumos, and Cygwin). /// /// Behavior is platform specific. Refer to the target platform's /// documentation for more details. @@ -296,7 +296,7 @@ impl TcpSocket { } /// Allows the socket to bind to an in-use port. Only available for unix systems - /// (excluding Solaris & Illumos). + /// (excluding Solaris, Illumos, and Cygwin). /// /// Behavior is platform specific. Refer to the target platform's /// documentation for more details.