From 4e9a894bff3d7262b7f1b2b7cc6161289f17dd4e Mon Sep 17 00:00:00 2001 From: Paulo Medeiros Date: Tue, 17 Dec 2024 18:35:49 -0100 Subject: [PATCH] Fix --- tokio/src/net/tcp/socket.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/tokio/src/net/tcp/socket.rs b/tokio/src/net/tcp/socket.rs index 19eb6714992..1d2be78faf3 100644 --- a/tokio/src/net/tcp/socket.rs +++ b/tokio/src/net/tcp/socket.rs @@ -168,7 +168,6 @@ impl TcpSocket { target_os = "linux", target_os = "netbsd", target_os = "openbsd", - target_os = "haiku" ))] let ty = ty.nonblocking(); let inner = socket2::Socket::new(domain, ty, Some(socket2::Protocol::TCP))?; @@ -181,7 +180,6 @@ impl TcpSocket { target_os = "linux", target_os = "netbsd", target_os = "openbsd", - target_os = "haiku" )))] inner.set_nonblocking(true)?; Ok(TcpSocket { inner })