Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upstyle: Update bindgen to 0.31.2. #19072
Merged
Conversation
The code that uses it is of dubious utility, fwiw, but some of it is used on Servo, so I'll kill that separately. Bug: 1412486 Reviewed-by: xidorn MozReview-Commit-ID: KauvXX32zLM
Bindgen doesn't know how to derive debug for a Gecko font family list. Hopefully it doesn't need to. Bug: 1412486 Reviewed-by: xidorn MozReview-Commit-ID: 4iZKzjad6K9
highfive
commented
Oct 31, 2017
|
Heads up! This PR modifies the following files:
|
highfive
commented
Oct 31, 2017
Closed
|
I'm hitting rust-lang/rust-bindgen#1127 on older versions of llvm... Hopefully there was a testcase there already and I've been able to repro and debug :) |
Constified enums are default now. I think I want to introduce an option to bindgen to allow setting the default enum behavior, but it doesn't need to block this. The ServoBindings.toml changes are somewhat hacky, but that's because of rust-lang/rust-bindgen#1125. Also, the fixups now need to account for whitespace, since quote generates stuff like root :: nsString, and we don't rustfmt the bindings if there's no rustfmt installed. Bug: 1412486 Reviewed-by: xidorn MozReview-Commit-ID: EY5eNnCiTIw
|
Ok, new bindgen version, and I verified it builds and pass tests in central, yay! @bors-servo r=xidorn |
|
|
|
@bors-servo p=10 |
bors-servo
added a commit
that referenced
this pull request
Oct 31, 2017
style: Update bindgen to 0.31.2. Just waiting for a try run. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19072) <!-- Reviewable:end -->
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
emilio commentedOct 31, 2017
•
edited by SimonSapin
Just waiting for a try run.
This change is