diff --git a/leaf/build.rs b/leaf/build.rs index f72dbe1..93e0fc9 100644 --- a/leaf/build.rs +++ b/leaf/build.rs @@ -131,15 +131,7 @@ fn generate_mobile_bindings() { } fn main() { - #[cfg(all( - feature = "inbound-tun", - any( - target_os = "ios", - target_os = "android", - target_os = "macos", - target_os = "linux" - ) - ))] + #[cfg(feature = "inbound-tun")] { let os = env::var("CARGO_CFG_TARGET_OS").unwrap(); if os == "ios" || os == "android" || os == "linux" || os == "macos" {