Skip to content

Commit

Permalink
Fix build on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kotauskas committed Jun 12, 2024
1 parent f6fde14 commit 52c2a07
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/os/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ pub use {path_conversion::*, share_handle::*};
mod file_handle;
mod limbo_pool;
pub(crate) mod misc;

#[cfg(feature = "tokio")]
mod needs_flush;

#[cfg(feature = "tokio")]
mod tokio_flusher;

Expand All @@ -31,6 +30,6 @@ mod limbo {
pub(crate) static REBURY_ERR: &str = "attempt to bury same pipe stream twice";
}

pub(crate) use {file_handle::*, misc::*, needs_flush::*, tokio_flusher::*};
pub(crate) use {file_handle::*, misc::*, needs_flush::*};

mod c_wrappers;
3 changes: 2 additions & 1 deletion src/os/windows/named_pipe/tokio/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ use crate::os::windows::{
stream::{pipe_mode, PipeModeTag},
MaybeArc,
},
NeedsFlush, TokioFlusher,
tokio_flusher::TokioFlusher,
NeedsFlush,
};
use std::{io, marker::PhantomData};
use tokio::net::windows::named_pipe::{
Expand Down
2 changes: 1 addition & 1 deletion src/os/windows/unnamed_pipe/tokio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ use crate::{
tokio::{send_off, Corpse},
LIMBO_ERR, REBURY_ERR,
},
tokio_flusher::TokioFlusher,
unnamed_pipe::CreationOptions,
winprelude::*,
TokioFlusher,
},
unnamed_pipe::{
tokio::{Recver as PubRecver, Sender as PubSender},
Expand Down

0 comments on commit 52c2a07

Please sign in to comment.