We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20da3e1 commit d0d7a29Copy full SHA for d0d7a29
1 file changed
src/core_graphics/mod.rs
@@ -7,7 +7,8 @@
7
8
#![cfg(feature = "core_graphics")]
9
10
-#[link(name = "CoreGraphics", kind = "framework")]
+#[cfg_attr(target_vendor = "apple", link(name = "CoreGraphics", kind = "framework"))]
11
+#[cfg_attr(not(target_vendor = "apple"), link(name = "CoreGraphics"))]
12
extern "C" {}
13
14
mod geometry;
0 commit comments