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 upstylo: Use the bindgen rewrite to generate the bindings. #13269
Conversation
highfive
commented
Sep 14, 2016
|
Heads up! This PR modifies the following files:
|
highfive
commented
Sep 14, 2016
|
One |
|
@upsuper that's right, but it's a consequence of how the new bindgen code is structured (expects each item to generate its own rust ast item). This simplifies a lot of things, and we could definitely coalesce them, but I think that's not a huge priority. |
|
Looks good to me. Haven't looked too closely at the generated structs, but everything else makes sense. |
| @@ -1640,7 +1640,7 @@ clip-path | |||
| fn init_shape(clip_path: &mut StyleClipPath, ty: StyleBasicShapeType) -> &mut StyleBasicShape { | |||
| unsafe { | |||
| // We have to be very careful to avoid a copy here! | |||
| let ref mut union = clip_path.StyleShapeSource_nsStyleStruct_h_unnamed_26; | |||
| let ref mut union = clip_path.__bindgen_anon_1; | |||
This comment has been minimized.
This comment has been minimized.
|
(r=me when you need it) |
|
The bindgen rewrite landed today. @bors-servo: r=Manishearth |
|
|
stylo: Use the bindgen rewrite to generate the bindings. <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors <!-- Either: --> - [x] These changes do not require tests because stylo ci is not there yet. <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> r? @Manishearth <!-- 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/13269) <!-- Reviewable:end -->
|
|
|
@bors-servo: retry |
|
Updated the bindgen script to run with @bors-servo: r=Manishearth |
|
|
|
|
stylo: Use the bindgen rewrite to generate the bindings. <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors <!-- Either: --> - [x] These changes do not require tests because stylo ci is not there yet. <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> r? @Manishearth <!-- 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/13269) <!-- Reviewable:end -->
|
@bors-servo: r=Manishearth Pushed an OSX-only bindgen fix, as requested by @bholley. |
|
|
stylo: Use the bindgen rewrite to generate the bindings. <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors <!-- Either: --> - [x] These changes do not require tests because stylo ci is not there yet. <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> r? @Manishearth <!-- 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/13269) <!-- Reviewable:end -->
|
|
emilio commentedSep 14, 2016
•
edited by larsbergstrom
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsr? @Manishearth
This change is