-
Notifications
You must be signed in to change notification settings - Fork 762
Fix a recent template-specialization-related regression. #470
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
This fixes a regression with stylo bindings after the function pointer PR.
r? @fitzgen |
I'll have to drop the second commit before landing I guess :( |
You may need to add |
I already do that though, right? |
Probably also |
Let's try, thanks for the suggestion :) |
f16e10b
to
1f898ed
Compare
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.
LGTM, thanks!
bindgen-integration/build.rs
Outdated
@@ -22,6 +22,18 @@ fn main() { | |||
.generate() | |||
.expect("Unable to generate bindings"); | |||
|
|||
// Just tests that parsing <type_traits> doesn't crash, since we've have |
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: "we've have" -> "we've had"
bindgen-integration/build.rs
Outdated
@@ -22,6 +22,18 @@ fn main() { | |||
.generate() | |||
.expect("Unable to generate bindings"); | |||
|
|||
// Just tests that parsing <type_traits> doesn't crash, since we've have | |||
// multiple hard-to-reduce regressions in that header. |
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.
Aside: have you tried creducing the post-preprocessed test case? creduce can usually do a better job than trying to reduce manually.
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.
nope, should try
Dang :(
Seems to only be on linux, though. Perhaps we can Another possibility is to just pull in the post-preprocessed |
1f898ed
to
439d89d
Compare
I wouldn't want to block on that for now, I'll open a new PR to figure out how to make travis happy. @bors-servo r=fitzgen |
📌 Commit 439d89d has been approved by |
Fix a recent template-specialization-related regression. r? @upsuper
☀️ Test successful - status-travis |
r? @upsuper