Skip to content

Commit b9c5d74

Browse files
committed
Fix Foundation linking
1 parent 0edf770 commit b9c5d74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

wgpu-hal/src/metal/layer_observer.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ use objc::runtime::{Class, Object, Sel, BOOL, NO};
1313
use objc::{class, msg_send, sel, sel_impl};
1414
use std::sync::OnceLock;
1515

16+
#[link(name = "Foundation", kind = "framework")]
1617
extern "C" {
1718
static NSKeyValueChangeNewKey: &'static Object;
1819
}

0 commit comments

Comments
 (0)