Skip to content

Commit ea4009f

Browse files
committed
Fix feature sync actually depends on async
Feature sync previously incorrectly relied on sync. This commit will fix this bug. Signed-off-by: Tim Zhang <[email protected]>
1 parent c554d97 commit ea4009f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ pub fn do_bind(host: &str) -> Result<RawFd> {
8686
macro_rules! cfg_sync {
8787
($($item:item)*) => {
8888
$(
89-
#[cfg(feature = "async")]
89+
#[cfg(feature = "sync")]
9090
$item
9191
)*
9292
}

0 commit comments

Comments
 (0)