Denis Sologub

Results 5 comments of Denis Sologub

Same error is on Window 10

Well, on Windows 10 you can resolve this error by installing LLVM.

To be clearer... ```rust fn set_icon(&self, icon: Option) { autoreleasepool(|_| { let mtm = MainThreadMarker::from(self); let app = NSApp(mtm); match icon { Some(icon) => { let ns_image = icon.get_impl().get_native(); unsafe...

> This is a common pattern used in Apple's frameworks, see [the documentation on Target-Action](https://developer.apple.com/library/archive/documentation/General/Conceptual/CocoaEncyclopedia/Target-Action/Target-Action.html), and it's a bit of a pain to handle when you're used to Rust's closures....