Skip to content

Commit 178b6ac

Browse files
committed
Add visionOS and watchOS to linking to CoreFoundation framework
1 parent d4ce710 commit 178b6ac

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

core-foundation-sys/src/lib.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,13 @@
2323
// https://github.com/rust-lang/lang-team/issues/102
2424
#[cfg_attr(
2525
all(
26-
any(target_os = "macos", target_os = "ios", target_os = "tvos"),
26+
any(
27+
target_os = "macos",
28+
target_os = "ios",
29+
target_os = "tvos",
30+
target_os = "watchos",
31+
target_os = "visionos"
32+
),
2733
feature = "link"
2834
),
2935
link(name = "CoreFoundation", kind = "framework")

0 commit comments

Comments
 (0)