From fb8fd65eef1b2ef247055e944cf258d53f2a517a Mon Sep 17 00:00:00 2001 From: simlay Date: Wed, 22 May 2024 12:06:06 -0400 Subject: [PATCH] Add visionOS and watchOS to linking to CoreFoundation framework (#679) --- core-foundation-sys/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core-foundation-sys/src/lib.rs b/core-foundation-sys/src/lib.rs index 948ce807..48611f1c 100644 --- a/core-foundation-sys/src/lib.rs +++ b/core-foundation-sys/src/lib.rs @@ -23,7 +23,7 @@ // https://github.com/rust-lang/lang-team/issues/102 #[cfg_attr( all( - any(target_os = "macos", target_os = "ios", target_os = "tvos"), + any(target_os = "macos", target_os = "ios", target_os = "tvos", target_os = "watchos", target_os = "visionos"), feature = "link" ), link(name = "CoreFoundation", kind = "framework")