Skip to content

Commit

Permalink
fix: fix wrong feature switch and publish 0.1.4 (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
ihciah committed Jun 1, 2023
1 parent 7201b23 commit b58e53d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion monoio/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT/Apache-2.0"
name = "monoio"
readme = "README.md"
repository = "https://github.com/bytedance/monoio"
version = "0.1.3"
version = "0.1.4"

# common dependencies
[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion monoio/src/driver/uring/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ impl UringInner {
}
if let Some(lifecycle) = inner.ops.slab.get(index) {
let _must_finished = lifecycle.drop_op(data);
#[cfg(features = "async-cancel")]
#[cfg(feature = "async-cancel")]
if !_must_finished {
unsafe {
let cancel = io_uring::opcode::AsyncCancel::new(index as u64)
Expand Down

0 comments on commit b58e53d

Please sign in to comment.