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

Add a workaround for #528, and fix #527 #532

Merged
merged 4 commits into from
Feb 23, 2017

Conversation

emilio
Copy link
Contributor

@emilio emilio commented Feb 19, 2017

@highfive
Copy link

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!

Copy link
Member

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me

Thanks!

/// However, some old libclang versions seem to return incorrect results in
/// some cases for non-mangled functions, see [1], so we allow disabling it.
///
/// [1]: https://github.com/servo/rust-bindgen/issues/528
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: when rendered as markdown, I think this link is going to disappear, since the "see [1]" isn't a proper markdown link. Instead it should be something like

... [old libclang versions seem to return incorrect results][1] ...

above.

@@ -625,8 +625,15 @@ impl CompInfo {
// StructDecl to note incomplete structs that hasn't been
// forward-declared before, see:
//
// Also, clang seems to scope struct definitions inside
// unions to the whole translation unit. Since those are
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ugh

@emilio
Copy link
Contributor Author

emilio commented Feb 23, 2017

@bors-servo r=fitzgen

@bors-servo
Copy link

📌 Commit ea39b98 has been approved by fitzgen

@bors-servo
Copy link

⌛ Testing commit ea39b98 with merge bf0bbda...

bors-servo pushed a commit that referenced this pull request Feb 23, 2017
@bors-servo
Copy link

☀️ Test successful - status-travis
Approved by: fitzgen
Pushing bf0bbda to master...

@bors-servo bors-servo merged commit ea39b98 into rust-lang:master Feb 23, 2017
@emilio emilio deleted the random-bugfixes branch August 11, 2017 11:38
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.

4 participants