diff --git a/tun/tests/tokio.rs b/tun/tests/tokio.rs index 0a8a276..e745c27 100644 --- a/tun/tests/tokio.rs +++ b/tun/tests/tokio.rs @@ -1,7 +1,7 @@ use std::net::Ipv4Addr; #[tokio::test] -#[cfg(feature = "tokio")] +#[cfg(all(feature = "tokio", not(target_os = "windows")))] async fn test_create() { let tun = tun::TunInterface::new().unwrap(); let async_tun = tun::tokio::TunInterface::new(tun).unwrap();