Only run Tokio tests on non-Windows platforms
This commit is contained in:
parent
17af030893
commit
d821f3d03c
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue