Skip to content
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

Fix infinite bindings generation #574

Merged
merged 2 commits into from Jul 10, 2013
Merged

Fix infinite bindings generation #574

merged 2 commits into from Jul 10, 2013

Conversation

@metajack
Copy link
Contributor

metajack commented Jul 10, 2013

This touches the .rs files even if they don't change. This will cause libscript to rebuild sometimes even when it doesn't have to. This seems better than having bindgen run every time as the case where CodegenRust.py changes but doesn't change the output .rs seems like it should be rare.

r? @jdm

@jdm

This comment has been minimized.

Copy link

jdm commented on ebbfde0 Jul 10, 2013

r+

@jdm
Copy link
Member

jdm commented Jul 10, 2013

This is effectively the same solution I came up with in #573.

@bors-servo

This comment has been minimized.

Copy link
Contributor

bors-servo commented on ebbfde0 Jul 10, 2013

saw approval from jdm
at metajack@ebbfde0

This comment has been minimized.

Copy link
Contributor

bors-servo replied Jul 10, 2013

merging metajack/servo/bindgen-deps = ebbfde0 into auto

This comment has been minimized.

Copy link
Contributor

bors-servo replied Jul 10, 2013

metajack/servo/bindgen-deps = ebbfde0 merged ok, testing candidate = c085a93

This comment has been minimized.

Copy link
Contributor

bors-servo replied Jul 10, 2013

fast-forwarding master to auto = c085a93

bors-servo pushed a commit that referenced this pull request Jul 10, 2013
This touches the `.rs` files even if they don't change. This will cause libscript to rebuild sometimes even when it doesn't have to. This seems better than having bindgen run every time as the case where CodegenRust.py changes but doesn't change the output `.rs` seems like it should be rare.

r? @jdm
@bors-servo bors-servo merged commit ebbfde0 into servo:master Jul 10, 2013
1 check passed
1 check passed
default all tests passed
ChrisParis pushed a commit to ChrisParis/servo that referenced this pull request Sep 7, 2014
Add a test for methods that do nothing.
glennw pushed a commit to glennw/servo that referenced this pull request Jan 16, 2017
This makes it a bit less complicated to use the WebRender API and hides
some details that might change later.

Fixes servo#574.
@jdm jdm mentioned this pull request Nov 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.