Skip to content
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

ir: Properly find the layout of incomplete arrays. #1592

Merged
merged 1 commit into from
Jul 10, 2019

Conversation

emilio
Copy link
Contributor

@emilio emilio commented Jul 10, 2019

So as to not pad stuff incorrectly, or needlessly add extra alignment, for
example.

Fixes #1589

So as to not pad stuff incorrectly, or needlessly add extra alignment, for
example.

Fixes rust-lang#1589
@highfive
Copy link

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!

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

Successfully merging this pull request may close these issues.

Extraneous padding in struct with bitfield and flexible array member
2 participants