I'm interested in how others may have mixed the AppKit runtime with something Rust-centric, whether async-std, tokio, or something else. Use cases are primarily in mixed platform systems, the core Rust code can't be designed around the standard Apple runtime, and needs something from the Rust ecosystem to actually be usable.
I have found that naively calling NSApplication.run() within tokio::task::spawn_blocking results in the event loop hanging.
I'm interested in how others may have mixed the AppKit runtime with something Rust-centric, whether
async-std,tokio, or something else. Use cases are primarily in mixed platform systems, the core Rust code can't be designed around the standard Apple runtime, and needs something from the Rust ecosystem to actually be usable.I have found that naively calling
NSApplication.run()withintokio::task::spawn_blockingresults in the event loop hanging.