Skip to content

Commit 1423187

Browse files
committed
feat(lib): add iocp-global to monocrate
1 parent be7cedc commit 1423187

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

compio/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ libc = { workspace = true }
7373
default = ["runtime", "io-uring"]
7474
io-uring = ["compio-driver/io-uring"]
7575
polling = ["compio-driver/polling"]
76+
iocp-global = ["compio-driver/iocp-global"]
7677
io = ["dep:compio-io"]
7778
io-compat = ["io", "compio-io/compat"]
7879
runtime = ["dep:compio-runtime", "dep:compio-fs", "dep:compio-net", "io"]

compio/tests/runtime.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ use compio_runtime::TryClone;
1212
use tempfile::NamedTempFile;
1313

1414
#[compio_macros::test]
15+
#[cfg(any(not(windows), feature = "iocp-global"))]
1516
async fn multi_threading() {
1617
const DATA: &str = "Hello world!";
1718

0 commit comments

Comments
 (0)