From f968dddbbf21e79098b85b373e9b93c828bf2bf3 Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Tue, 26 Sep 2023 00:48:31 +1000 Subject: [PATCH] fix(connlib): don't unnecessarily `cfg` for apple (#2126) This file type-checks and compiles just fine on my local Linux machine without the `cfg` attributes. Remove them to allow `cargo clippy --all-targets` to be more useful in local development. --- rust/connlib/clients/apple/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/rust/connlib/clients/apple/src/lib.rs b/rust/connlib/clients/apple/src/lib.rs index 4546c7571..bf5424eeb 100644 --- a/rust/connlib/clients/apple/src/lib.rs +++ b/rust/connlib/clients/apple/src/lib.rs @@ -1,4 +1,3 @@ -#![cfg(any(target_os = "macos", target_os = "ios"))] // Swift bridge generated code triggers this below #![allow(improper_ctypes, non_camel_case_types)]