Skip to content

Commit

Permalink
Fix for: cargo check -Z build-std=std,panic_abort --target x86_64-pc-…
Browse files Browse the repository at this point in the history
…solaris --no-default-features --features net (and os-poll)
  • Loading branch information
psumbera committed Nov 14, 2023
1 parent 69ce07b commit d70e46e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sys/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ cfg_os_poll! {
#[cfg(unix)]
cfg_os_poll! {
mod unix;
#[allow(unused_imports)]
pub use self::unix::*;
}

Expand All @@ -76,6 +77,7 @@ cfg_not_os_poll! {
#[cfg(unix)]
cfg_any_os_ext! {
mod unix;
#[cfg(feature = "os-ext")]
pub use self::unix::SourceFd;
}

Expand Down
2 changes: 2 additions & 0 deletions src/sys/unix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ cfg_os_poll! {
pub(crate) use self::selector::{event, Event, Events, Selector};

mod sourcefd;
#[cfg(feature = "os-ext")]
pub use self::sourcefd::SourceFd;

mod waker;
Expand Down Expand Up @@ -119,6 +120,7 @@ cfg_not_os_poll! {

cfg_any_os_ext! {
mod sourcefd;
#[cfg(feature = "os-ext")]
pub use self::sourcefd::SourceFd;
}
}

0 comments on commit d70e46e

Please sign in to comment.