Skip to content

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

Merged
merged 1 commit into from
May 24, 2017
Merged

Fix bitfield generation bug with const function #718

merged 1 commit into from
May 24, 2017

Conversation

photoszzt
Copy link
Contributor

Const function can't have variables or blocks.

r? @fitzgen

@highfive
Copy link

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.

Copy link
Contributor

@emilio emilio left a 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"]
Copy link
Contributor

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.
@emilio
Copy link
Contributor

emilio commented May 24, 2017

@bors-servo r+

@bors-servo
Copy link

📌 Commit 88342c9 has been approved by emilio

@bors-servo
Copy link

⌛ Testing commit 88342c9 with merge 50faeab...

bors-servo pushed a commit that referenced this pull request May 24, 2017
Fix bitfield generation bug with const function

Const function can't have variables or blocks.

r? @fitzgen
@bors-servo
Copy link

☀️ Test successful - status-travis
Approved by: emilio
Pushing 50faeab to master...

@bors-servo bors-servo merged commit 88342c9 into rust-lang:master May 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants