From d821f3d03c709e8d161ac9635187fb69f793a445 Mon Sep 17 00:00:00 2001 From: Sam Poder Date: Tue, 8 Aug 2023 10:57:04 -0400 Subject: [PATCH] Only run Tokio tests on non-Windows platforms --- tun/tests/tokio.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();