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

Disable logging in bindgen to reduce code size #20245

Merged
merged 1 commit into from Mar 8, 2018
Merged

Conversation

@mbrubeck
Copy link
Contributor

mbrubeck commented Mar 8, 2018

This disables bindgen's logging feature, which builds env_logger
with default features, including regex support. Disabling it allows
Gecko to build env_logger without the regex crate, reducing code
size.

Part of https://bugzilla.mozilla.org/show_bug.cgi?id=1444097


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes do not require tests because they only change unused build config

This change is Reviewable

@highfive
Copy link

highfive commented Mar 8, 2018

Heads up! This PR modifies the following files:

@highfive
Copy link

highfive commented Mar 8, 2018

warning Warning warning

  • These commits modify style code, but no tests are modified. Please consider adding a test!
@emilio
Copy link
Member

emilio commented Mar 8, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Mar 8, 2018

📌 Commit 96caa84 has been approved by emilio

@highfive highfive assigned emilio and unassigned KiChjang Mar 8, 2018
This disables bindgen's `logging` feature, which builds `env_logger`
with default features, including regex support.  Disabling it allows
Gecko to build `env_logger` without the `regex` crate, reducing code
size.

Part of https://bugzilla.mozilla.org/show_bug.cgi?id=1444097
@mbrubeck mbrubeck force-pushed the mbrubeck:logging branch from 96caa84 to 2f2bfb2 Mar 8, 2018
@mbrubeck
Copy link
Contributor Author

mbrubeck commented Mar 8, 2018

@bors-servo r=emilio

Missed a corresponding change in the "stylo_tests" crate.

@bors-servo
Copy link
Contributor

bors-servo commented Mar 8, 2018

📌 Commit 2f2bfb2 has been approved by emilio

@bors-servo
Copy link
Contributor

bors-servo commented Mar 8, 2018

Testing commit 2f2bfb2 with merge 46dfc35...

bors-servo added a commit that referenced this pull request Mar 8, 2018
Disable logging in bindgen to reduce code size

This disables bindgen's `logging` feature, which builds `env_logger`
with default features, including regex support.  Disabling it allows
Gecko to build `env_logger` without the `regex` crate, reducing code
size.

Part of https://bugzilla.mozilla.org/show_bug.cgi?id=1444097

---

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes do not require tests because they only change unused build config

<!-- 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/20245)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Mar 8, 2018

@bors-servo bors-servo mentioned this pull request Mar 8, 2018
2 of 5 tasks complete
@bors-servo bors-servo merged commit 2f2bfb2 into servo:master Mar 8, 2018
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
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

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