Skip to content

ir: codegen: Handle too large bitfield units. #1719

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

Merged
merged 2 commits into from
Feb 2, 2020

Conversation

emilio
Copy link
Contributor

@emilio emilio commented Feb 2, 2020

By not generating various code for it.

In the future, we could improve on this by splitting contiguous bitfield units,
if needed, so that we can implement them without dealing with rust array derive
limits.

Fixes #1718

By not generating various code for it.

In the future, we could improve on this by splitting contiguous bitfield units,
if needed, so that we can implement them without dealing with rust array derive
limits.

Fixes rust-lang#1718
@highfive
Copy link

highfive commented Feb 2, 2020

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.

the trait bound [u8; 44]: std::default::Default is not satisfied
2 participants