diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-06-22 17:06:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-22 17:06:30 -0500 |
commit | 053c2aee0aff738bccde5df1ccdfdfceddaa2fa2 (patch) | |
tree | e442b4eeddf9268f6a835ac058e422257e914f2e /python/servo/post_build_commands.py | |
parent | 0fb5d634a007f3d0424f95569ac3f83d500d054c (diff) | |
parent | cdd4a1dfebb784a401497f9791b4b23b7367bfa1 (diff) | |
download | servo-053c2aee0aff738bccde5df1ccdfdfceddaa2fa2.tar.gz servo-053c2aee0aff738bccde5df1ccdfdfceddaa2fa2.zip |
Auto merge of #11827 - servo:geckolib-no-const-fn, r=emilio
Generate geckolib structs with -no-bitfield-methods
<!-- Please describe your changes on the following line: -->
This makes rust-bindgen not generate a bunch of methods that were not used, including `const fn` ones.
This helps with #11815 since `const fn` is unstable.
(Note that running `regen_style_structs.sh` without changing it made a bunch of unrelated changes to `structs_*.rs`, probably because I had a different Gecko version. I first made a commit of that, then added `-no-bitfield-methods`, regenerated, made another commit, then removed the first commit with `git rebase -i master@{u}`.)
r? @emilio
---
<!-- 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
- [x] These changes fix part of #11815 (github issue number if applicable).
<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require new tests because they’re only removing dead code.
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11827)
<!-- Reviewable:end -->
Diffstat (limited to 'python/servo/post_build_commands.py')
0 files changed, 0 insertions, 0 deletions