Skip to content

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

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

Open
Tracked by #719
bors-servo opened this issue Feb 1, 2018 · 1 comment
Open
Tracked by #719

Comments

@bors-servo
Copy link
Contributor

Issue by yupferris
Thursday Jul 28, 2016 at 18:52 GMT
Originally opened as servo/cocoa-rs#140


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 (https://github.com/servo/cocoa-rs/blob/bce77bf83b10dd6ec54bb8ce897baeb5f5b24d46/src/appkit.rs#L312), 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.

@bors-servo
Copy link
Contributor Author

Comment by quadrupleslap
Tuesday Jan 30, 2018 at 19:18 GMT


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/

jrmuizel pushed a commit to jrmuizel/core-foundation-rs that referenced this issue Feb 2, 2018
example: add space between quit and process name

Add a space between "Quit" and the process name in the menu

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/cocoa-rs/174)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant