Closed pomettini closed 8 months ago
I'm not 100% sure what that cast does to be fair, tagging @tehsmeely who wrote the menu item API for visibility :)
It seems this is a fragility we introduced as:
The type of the returned pointer is *const c_char, and whether it’s an alias for const i8 or const u8 is platform-specific.
I'll make a new PR to resolve this better since it's now broken again on my platform (windows)
Crankstart does not compile because of this. I ran the
menu_items.rs
example and it works as expected