diff --git a/codi-rs/src/orchestrate/ipc/transport.rs b/codi-rs/src/orchestrate/ipc/transport.rs index 0ff6001..fb103e4 100644 --- a/codi-rs/src/orchestrate/ipc/transport.rs +++ b/codi-rs/src/orchestrate/ipc/transport.rs @@ -122,11 +122,14 @@ fn pipe_name_from_path(path: &Path) -> String { #[cfg(test)] mod tests { - #[cfg(windows)] use super::*; + use tokio::time::Duration; + + #[cfg(unix)] + use tokio::io::{AsyncReadExt, AsyncWriteExt}; + #[cfg(windows)] use tokio::io::{AsyncReadExt, AsyncWriteExt}; - use tokio::time::Duration; #[cfg(windows)] #[tokio::test]