Do not export phy::wait on non-Unix platforms

v0.7.x
Michal Podhradsky 2018-04-28 15:24:00 -07:00 committed by whitequark
parent 867eb1b7f8
commit 0ce9f56c26
1 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ impl<'a> phy::TxToken for StmPhyTxToken<'a> {
use Result;
use time::Instant;
#[cfg(any(feature = "phy-raw_socket", feature = "phy-tap_interface"))]
#[cfg(all(any(feature = "phy-raw_socket", feature = "phy-tap_interface"), unix))]
mod sys;
mod tracer;
@ -100,7 +100,7 @@ mod raw_socket;
#[cfg(all(feature = "phy-tap_interface", target_os = "linux"))]
mod tap_interface;
#[cfg(any(feature = "phy-raw_socket", feature = "phy-tap_interface"))]
#[cfg(all(any(feature = "phy-raw_socket", feature = "phy-tap_interface"), unix))]
pub use self::sys::wait;
pub use self::tracer::Tracer;