From 54d905027e50ec4f0969824efa8e34581922a1f4 Mon Sep 17 00:00:00 2001 From: Sebastian Imlay Date: Tue, 5 Dec 2023 23:02:37 -0500 Subject: [PATCH] Add missing targot os section --- security-framework-sys/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security-framework-sys/src/lib.rs b/security-framework-sys/src/lib.rs index 4302889b..1b19791b 100644 --- a/security-framework-sys/src/lib.rs +++ b/security-framework-sys/src/lib.rs @@ -1,7 +1,7 @@ #![allow(bad_style)] #[cfg_attr( - any(target_os = "macos", target_os = "ios"), + any(target_os = "macos", target_os = "ios", target_os = "tvos", target_os = "watchos"), link(name = "Security", kind = "framework") )] extern "C" {} @@ -12,7 +12,7 @@ pub mod access_control; #[cfg(target_os = "macos")] pub mod authorization; pub mod base; -#[cfg(any(target_os = "macos", target_os = "ios"))] +#[cfg(any(target_os = "macos", target_os = "ios", target_os = "tvos", target_os = "watchos"))] pub mod certificate; #[cfg(target_os = "macos")] pub mod certificate_oids;