From fe8aefaed3aef71b5931e4cc2a62bdc766ee4505 Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Tue, 26 Jul 2022 09:20:32 +0200 Subject: [PATCH] Also update file changed in #4840 --- tokio/src/io/driver/registration.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/src/io/driver/registration.rs b/tokio/src/io/driver/registration.rs index dbc34592e3a..281a48a0bcb 100644 --- a/tokio/src/io/driver/registration.rs +++ b/tokio/src/io/driver/registration.rs @@ -115,7 +115,7 @@ impl Registration { // Uses the poll path, requiring the caller to ensure mutual exclusion for // correctness. Only the last task to call this function is notified. - #[cfg(not(all(target_arch = "wasm32", target_os = "wasi")))] + #[cfg(not(all(target_family = "wasm", target_os = "wasi")))] pub(crate) fn poll_read_io( &self, cx: &mut Context<'_>,