mirror of
https://github.com/wezterm/wezterm.git
synced 2026-08-02 18:22:24 +08:00
This is a PITA. The objc crate does some stuff that spews warnings everywhere that the sel! and msg_send! macros are used. That crate is not currently maintained There is a fork of the crate which resolves the spew, but we also use the cocoa crate which pulls in the original crate The new fork is not compatible with cargo workspace patching. There is an alternative objc2 crate with a nicer, more type-safe API, but the API changes to migrate are pretty huge: I just lost a couple of hours on this and still hadn't gotten past the migrating the NSMenu stuff over. So, the approach here is to simply ignore the warnings in the modules that use the objc crate. This will need to be fixed by someone someday, but that day is not today. refs: https://github.com/SSheldon/rust-objc/issues/125