Skip to content

Commit 426ff24

Browse files
authored
Merge pull request #39 from Tim-Zhang/fix-cargo-feature
Fix feature sync actually depends on async
2 parents c554d97 + ea4009f commit 426ff24

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)