Skip to content

Commit b58e53d

Browse files
authored
fix: fix wrong feature switch and publish 0.1.4 (#173)
1 parent 7201b23 commit b58e53d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

monoio/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license = "MIT/Apache-2.0"
88
name = "monoio"
99
readme = "README.md"
1010
repository = "https://github.com/bytedance/monoio"
11-
version = "0.1.3"
11+
version = "0.1.4"
1212

1313
# common dependencies
1414
[dependencies]

monoio/src/driver/uring/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ impl UringInner {
399399
}
400400
if let Some(lifecycle) = inner.ops.slab.get(index) {
401401
let _must_finished = lifecycle.drop_op(data);
402-
#[cfg(features = "async-cancel")]
402+
#[cfg(feature = "async-cancel")]
403403
if !_must_finished {
404404
unsafe {
405405
let cancel = io_uring::opcode::AsyncCancel::new(index as u64)

0 commit comments

Comments
 (0)