glutin
glutin copied to clipboard
Move to `objc2`
Helps with following Cocoa's memory management rules (for example, https://github.com/rust-windowing/glutin/pull/1453 wouldn't have happened with this) - and while I was at it, I fixed a few C enum
definitions (objc2
's verify_message
feature is a great help with that).
See commit messages for details.
- [x] Tested on all platforms changed
- [x] Added an entry to
CHANGELOG.md
if knowledge of this change could be valuable to users - [x] Updated documentation to reflect any user-facing changes, including notes of platform-specific behavior
- [x] Created or updated an example program if it would help users understand this functionality
Ah, you'd need a CI update for that? Could you also rebase?
I moved the required MSRV bump to https://github.com/rust-windowing/glutin/pull/1464
Will rebase after https://github.com/rust-windowing/glutin/pull/1465 probably
I'm not sure how I should go forward with it, since the change is more or less stylistic right now. I'd wait for objc2 to release first. Don't want to release anything glutin with unstable crates.
Fair - but then you should probably merge https://github.com/rust-windowing/glutin/pull/1474 (otherwise glutin
doesn't compile on macOS aarch64)
~I think it's aliased to 0 anyway?~
Ah, I see, can't reopen though, should resend PR.