From 79ed10ba2720f56dee5c1189eaf6f9f5924faff1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 27 Apr 2022 00:13:46 +0100 Subject: [PATCH] threadshare: fix build on Windows --- generic/threadshare/src/runtime/executor/async_wrapper.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic/threadshare/src/runtime/executor/async_wrapper.rs b/generic/threadshare/src/runtime/executor/async_wrapper.rs index d542c950..7d0c53dc 100644 --- a/generic/threadshare/src/runtime/executor/async_wrapper.rs +++ b/generic/threadshare/src/runtime/executor/async_wrapper.rs @@ -179,7 +179,7 @@ impl Async { } } - let source = Reactor::with_mut(|reactor| reactor.insert_io(fd))?; + let source = Reactor::with_mut(|reactor| reactor.insert_io(sock))?; Ok(Async { source, io: Some(io),