diff options
Diffstat (limited to 'test/test_net.rs')
-rw-r--r-- | test/test_net.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test_net.rs b/test/test_net.rs index 78a09b6c..d1050c16 100644 --- a/test/test_net.rs +++ b/test/test_net.rs @@ -3,7 +3,11 @@ use nix::net::if_::*; #[cfg(any(target_os = "android", target_os = "linux"))] const LOOPBACK: &[u8] = b"lo"; -#[cfg(not(any(target_os = "android", target_os = "linux", target_os = "haiku")))] +#[cfg(not(any( + target_os = "android", + target_os = "linux", + target_os = "haiku" +)))] const LOOPBACK: &[u8] = b"lo0"; #[cfg(target_os = "haiku")] |