From a1e69bfb4c3820d4089901f6c0c98d40086e5eb5 Mon Sep 17 00:00:00 2001 From: ShaharNaveh <50263213+ShaharNaveh@users.noreply.github.com> Date: Mon, 4 May 2026 12:20:22 +0300 Subject: [PATCH 1/2] fix ci --- crates/host_env/src/select.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/host_env/src/select.rs b/crates/host_env/src/select.rs index 89988ee96af..bd233e6d516 100644 --- a/crates/host_env/src/select.rs +++ b/crates/host_env/src/select.rs @@ -6,6 +6,7 @@ pub mod platform { pub use libc::{FD_ISSET, FD_SET, FD_SETSIZE, FD_ZERO, fd_set, select, timeval}; pub use std::os::unix::io::RawFd; + #[must_use] pub const fn check_err(x: i32) -> bool { x < 0 } From f76be0aa47ab209c6fa079c8802596e8944602c9 Mon Sep 17 00:00:00 2001 From: ShaharNaveh <50263213+ShaharNaveh@users.noreply.github.com> Date: Mon, 4 May 2026 12:21:52 +0300 Subject: [PATCH 2/2] more --- crates/host_env/src/select.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/host_env/src/select.rs b/crates/host_env/src/select.rs index bd233e6d516..922bafe0697 100644 --- a/crates/host_env/src/select.rs +++ b/crates/host_env/src/select.rs @@ -53,6 +53,7 @@ pub mod platform { unsafe { __WSAFDIsSet(fd as _, set) != 0 } } + #[must_use] pub fn check_err(x: i32) -> bool { x == WinSock::SOCKET_ERROR }