Skip to content

Commit

Permalink
Add Quartzcore behind link feature flag (#3897)
Browse files Browse the repository at this point in the history
  • Loading branch information
littledivy committed Jun 29, 2023
1 parent 973cd3e commit 6158692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu-hal/src/metal/surface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use objc::{
use parking_lot::Mutex;

#[cfg(target_os = "macos")]
#[link(name = "QuartzCore", kind = "framework")]
#[cfg_attr(feature = "link", link(name = "QuartzCore", kind = "framework"))]
extern "C" {
#[allow(non_upper_case_globals)]
static kCAGravityTopLeft: *mut Object;
Expand Down

0 comments on commit 6158692

Please sign in to comment.