-
Notifications
You must be signed in to change notification settings - Fork 747
Fix bitfield generation bug with const function #718
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
Fix bitfield generation bug with const function #718
Conversation
Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @fitzgen (or someone else) soon. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but I think you need to revert one bit for CI to pass.
With that reverted, r=me.
@@ -37,6 +37,6 @@ impl Default for JNINativeInterface_ { | |||
fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |||
} | |||
extern "stdcall" { | |||
#[link_name = "_bar@0"] | |||
#[link_name = "bar@0"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should revert this bit for CI to pass I think, see #593.
Const function can't have variables or blocks.
@bors-servo r+ |
📌 Commit 88342c9 has been approved by |
Fix bitfield generation bug with const function Const function can't have variables or blocks. r? @fitzgen
☀️ Test successful - status-travis |
Const function can't have variables or blocks.
r? @fitzgen