-
Notifications
You must be signed in to change notification settings - Fork 698
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
Extraneous padding in struct with bitfield and flexible array member #1589
Comments
Thanks for the report, this is a bug in bindgen. |
Seems we're failing to find the layout of the incomplete array, should be fixable. |
So as to not pad stuff incorrectly, or needlessly add extra alignment, for example. Fixes rust-lang#1589
Fix at #1592. |
(And sorry for the lag triaging this, was on vacation when it was filed, and apparently lost track of this mail :)) |
Thanks for the fix and release of 0.51.0 @emilio. Happy weekend. |
This pulls in the fix for rust-lang/rust-bindgen#1589 which unblocks enabling layout tests for mruby-sys.
This pulls in the fix for rust-lang/rust-bindgen#1589 which unblocks enabling layout tests for mruby-sys.
Input C/C++ Header
Bindgen Invocation
Actual Results
and/or
Expected Results
Expect layout test to pass.
The text was updated successfully, but these errors were encountered: