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 upImplement GPURenderPassEncoder #26769
Conversation
highfive
commented
Jun 3, 2020
|
Heads up! This PR modifies the following files:
|
highfive
commented
Jun 3, 2020
This did not show up during my local build :( The thing is I have this dictionary in
I need to match on |
|
This is really strange. |
Implement GPURenderPassEncoder Add webidls for GPURenderPassEncoder and GPURenderEncoderBase and implement relevant methods. <!-- Please describe your changes on the following line: --> r?@kvark --- <!-- 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 - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
|
|
|
It makes no sense to me that your local build does not reproduce this build error. My only advice at this point is to do the following:
|
|
Looks great! I have a few questions, no blocking concerns. |
|
Super weird. I built your branch locally and don't see the build error. What OS are you using? I'm on macOS, and it builds successfully with both python 2 and python 3. |
|
@bors-servo try=mac retry |
Implement GPURenderPassEncoder Add webidls for GPURenderPassEncoder and GPURenderEncoderBase and implement relevant methods. <!-- Please describe your changes on the following line: --> r?@kvark --- <!-- 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 - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
|
I am on Ubuntu 18.04. I haven't tried building with python3. |
|
|
|
As a possible workaround, does anything change if you make a typedef for that union and import the typedef name in rust instead? |
Add webidls for GPURenderPassEncoder and GPURenderEncoderBase and implement relevant methods.
|
I have modified that particular type to use typedef, as suggested, to check if the build succeeds. |
|
So build succeeds now \o/. I don't know why that particular type was throwing the error while the other two didn't (Maybe it was cursed :P). |
|
@kvark PTAL! |
|
@bors-servo r=kvark |
|
|
Implement GPURenderPassEncoder Add webidls for GPURenderPassEncoder and GPURenderEncoderBase and implement relevant methods. <!-- Please describe your changes on the following line: --> r?@kvark --- <!-- 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 - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
|
|
|
@bors-servo retry |
|
|
kunalmohan commentedJun 3, 2020
Add webidls for GPURenderPassEncoder and GPURenderEncoderBase and
implement relevant methods.
r?@kvark
./mach build -ddoes not report any errors./mach test-tidydoes not report any errors