-
Notifications
You must be signed in to change notification settings - Fork 706
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
Bitfields broken for big-endian machines. #1340
Labels
Comments
Per: https://en.wikipedia.org/wiki/Bit_numbering SPARC uses "LSB 0" bit numbering (the same as Little-endian CPUs). So the proposed change is probably not needed. But something else is wrong... I'm confused about:
What does mean value 3? This is 2 bytes row! |
The bitfield has three named fields: |
psumbera
added a commit
to psumbera/rust-bindgen
that referenced
this issue
Jun 28, 2018
With following all test passes on both sparc and intel: (though I haven't verified Firefox yet) |
bors-servo
pushed a commit
that referenced
this issue
Jul 1, 2018
Fix bitfields on big-endian machines. Fixes #1340
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See https://bugzilla.mozilla.org/show_bug.cgi?id=1462623
The text was updated successfully, but these errors were encountered: