-
-
Notifications
You must be signed in to change notification settings - Fork 478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move to objc2
#1461
Move to objc2
#1461
Conversation
Ah, you'd need a CI update for that? Could you also rebase? |
I moved the required MSRV bump to #1464 |
Will rebase after #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 #1474 (otherwise |
Ah, I see, can't reopen though, should resend PR. |
@madsmtm would you mind updating the branch? I'm fine with having the same objc2 as in winit. |
Cool, I'll probably get to it at some point in the near future then |
This is a breaking change
In particular, this fixes: - UB in -[NSOpenGLPixelFormat getValues:forAttribute:forVirtualScreen:], cocoa mistakenly passed u64 where they should pass u32 - UB in -[NSOpenGLContext setValues:forParameter:], cocoa mistakenly passed u64 where they should pass usize - UB if -[NSOpenGLContext initWithFormat:shareContext:] returned NULL
Seems like nothing really changed, so rebase went without issues. |
Helps with following Cocoa's memory management rules (for example, #1453 wouldn't have happened with this) - and while I was at it, I fixed a few C
enum
definitions (objc2
'sverify_message
feature is a great help with that).See commit messages for details.
CHANGELOG.md
if knowledge of this change could be valuable to users