mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
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
This commit is contained in:
parent
8133f788cf
commit
2f2bfb23db
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