Do not export phy::wait on non-Unix platforms
parent
867eb1b7f8
commit
0ce9f56c26
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue