mirror of
https://github.com/eycorsican/leaf.git
synced 2026-12-05 16:02:32 +00:00
build: remove wrong cfg condition in build.rs (#170)
This commit is contained in:
1 parent
10e600d27d
commit
de4de722b1
1 file changed
+1
-9
+1
-9
@@ -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" {
|
||||
|
||||
Reference in new issue
Block a user