From 41b7630d6de96a57763fcf47fb9b51c9f2b9dcc6 Mon Sep 17 00:00:00 2001 From: YXL76 <43405544+YXL76@users.noreply.github.com> Date: Wed, 15 Jan 2025 10:44:58 +0800 Subject: [PATCH] fix: `cfg` condition --- monoio/src/driver/op/rename.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/monoio/src/driver/op/rename.rs b/monoio/src/driver/op/rename.rs index fa02ba0c..e1364b9e 100644 --- a/monoio/src/driver/op/rename.rs +++ b/monoio/src/driver/op/rename.rs @@ -34,6 +34,7 @@ impl OpAble for Rename { .build() } + #[cfg(any(feature = "legacy", feature = "poll-io"))] fn legacy_interest(&self) -> Option<(crate::driver::ready::Direction, usize)> { None }