servo: Merge #13974 - Stop passing now-unrecognized --no-type-renaming to rust-bindgen (from heycam:rm-bindgen-option); r=emilio
authorCameron McCormack <cam@mcc.id.au>
Sat, 29 Oct 2016 22:26:10 -0500
changeset 340018 50d7ea9b555efa895035d5acf15bf6ba595a3a68
parent 340017 ca4eba73915fb8e59308317ff816536832bd073c
child 340019 6246f61ca7bc3e6c00d1ff82080c14ee435b2471
push id31307
push usergszorc@mozilla.com
push dateSat, 04 Feb 2017 00:59:06 +0000
treeherdermozilla-central@94079d43835f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersemilio
servo: Merge #13974 - Stop passing now-unrecognized --no-type-renaming to rust-bindgen (from heycam:rm-bindgen-option); r=emilio <!-- Please describe your changes on the following line: --> r? @emilio --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./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 _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 398f505ace3c68c67e97e6d6bb1afe6806e5c95f
servo/components/style/binding_tools/regen.py
--- a/servo/components/style/binding_tools/regen.py
+++ b/servo/components/style/binding_tools/regen.py
@@ -17,17 +17,17 @@ import regen_atoms
 DESCRIPTION = 'Regenerate the rust version of the structs or the bindings file.'
 TOOLS_DIR = os.path.dirname(os.path.abspath(__file__))
 COMMON_BUILD_KEY = "__common__"
 
 COMPILATION_TARGETS = {
     # Flags common for all the targets.
     COMMON_BUILD_KEY: {
         "flags": [
-            "--no-unstable-rust", "--no-type-renaming",
+            "--no-unstable-rust",
         ],
         "clang_flags": [
             "-x", "c++", "-std=c++14",
             "-DTRACING=1", "-DIMPL_LIBXUL", "-DMOZ_STYLO_BINDINGS=1",
             "-DMOZILLA_INTERNAL_API", "-DRUST_BINDGEN", "-DMOZ_STYLO"
         ],
         "search_dirs": [
             "{}/dist/include",