Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Lots of type misalignment building under stable-i686-apple-darwin #140

Open
yupferris opened this issue Jul 28, 2016 · 1 comment
Open

Comments

@yupferris
Copy link

yupferris commented Jul 28, 2016

Seems a lot of assumptions are made about the widths of certain types that make many usages of the library throw errors when building for 32-bit. For example, nextEventMatchingMask_untilDate_inMode_dequeue_'s mask parameter takes an NSInteger (

unsafe fn nextEventMatchingMask_untilDate_inMode_dequeue_(self,
), but the bitflags that are meant to be used there are backed by a libc::c_ulonglong, which is not compatible in 32-bit builds.

This causes, for example, https://github.com/tomaka/glutin to fail to compile under 32-bit rust-windowing/glutin#803 at least, and there may be more errors lurking around in there that this causes.

@quadrupleslap
Copy link

This is slightly less of a problem considering the recent news, but it's still pretty bad.

https://www.macrumors.com/2017/06/06/apple-to-phase-out-32-bit-mac-apps/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants