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

Implement codegen support for repr transparent. #1474

Closed
emilio opened this issue Dec 24, 2018 · 3 comments
Closed

Implement codegen support for repr transparent. #1474

emilio opened this issue Dec 24, 2018 · 3 comments

Comments

@emilio
Copy link
Contributor

emilio commented Dec 24, 2018

Bitfield enums should be able to use #[repr(transparent)] instead of #[repr(C)] when available.

This should be a straight-forward change in src/codegen/mod.rs. Also rust version should be taken into account, see src/features.rs.

@highfive
Copy link

Hi! If you have any questions regarding this issue, feel free to make a comment here, or ask it in the #servo channel in IRC.

If you intend to work on this issue, then add @highfive: assign me to your comment, and I'll assign this to you. 😄

@LegNeato
Copy link
Contributor

LegNeato commented Jan 3, 2019

@highfive: assign me

@highfive
Copy link

highfive commented Jan 3, 2019

Hey @LegNeato! Thanks for your interest in working on this issue. It's now assigned to you!

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

No branches or pull requests

3 participants