diff options
| author | ihc童鞋@提不起劲 <[email protected]> | 2023-06-01 19:08:12 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-06-01 19:08:12 +0800 |
| commit | b58e53da264e7ec667d7bd11472740ee12bd9706 (patch) | |
| tree | 761e813477757006ed3ecf91c515598c958803e7 | |
| parent | 7201b230460c8f15fe494876bd0aed922322d3de (diff) | |
fix: fix wrong feature switch and publish 0.1.4 (#173)
| -rw-r--r-- | monoio/Cargo.toml | 2 | ||||
| -rw-r--r-- | monoio/src/driver/uring/mod.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/monoio/Cargo.toml b/monoio/Cargo.toml index 9e82b21..5b383cd 100644 --- a/monoio/Cargo.toml +++ b/monoio/Cargo.toml @@ -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] diff --git a/monoio/src/driver/uring/mod.rs b/monoio/src/driver/uring/mod.rs index 5349ed7..977a573 100644 --- a/monoio/src/driver/uring/mod.rs +++ b/monoio/src/driver/uring/mod.rs @@ -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) |
