We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Bitfield enums should be able to use #[repr(transparent)] instead of #[repr(C)] when available.
#[repr(transparent)]
#[repr(C)]
This should be a straight-forward change in src/codegen/mod.rs. Also rust version should be taken into account, see src/features.rs.
src/codegen/mod.rs
src/features.rs
The text was updated successfully, but these errors were encountered:
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.
#servo
If you intend to work on this issue, then add @highfive: assign me to your comment, and I'll assign this to you. 😄
@highfive: assign me
Sorry, something went wrong.
Bitfield enums use #[repr(transparent)] on Rust 1.28+
4eaca74
Fixes rust-lang#1474.
Hey @LegNeato! Thanks for your interest in working on this issue. It's now assigned to you!
No branches or pull requests
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, seesrc/features.rs
.The text was updated successfully, but these errors were encountered: