-
Notifications
You must be signed in to change notification settings - Fork 747
Add a workaround for #528, and fix #527 #532
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
Conversation
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.
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 |
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.
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 |
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.
ugh
@bors-servo r=fitzgen |
📌 Commit ea39b98 has been approved by |
☀️ Test successful - status-travis |
r? @fitzgen