mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Auto merge of #20245 - mbrubeck:logging, r=emilio
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 -->
This commit is contained in:
commit
46dfc35364
4 changed files with 2 additions and 51 deletions
|
@ -78,7 +78,7 @@ kernel32-sys = "0.2"
|
|||
[build-dependencies]
|
||||
lazy_static = "1"
|
||||
log = "0.3"
|
||||
bindgen = { version = "0.33.1", optional = true }
|
||||
bindgen = { version = "0.33.1", optional = true, default-features = false }
|
||||
regex = {version = "0.2", optional = true}
|
||||
walkdir = "1.0"
|
||||
toml = {version = "0.2.1", optional = true, default-features = false}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue