diff --git a/core-foundation-sys/src/lib.rs b/core-foundation-sys/src/lib.rs index 948ce807..5b458fb1 100644 --- a/core-foundation-sys/src/lib.rs +++ b/core-foundation-sys/src/lib.rs @@ -23,7 +23,13 @@ // 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")