Skip to content
Permalink
Browse files

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
  • Loading branch information
mbrubeck committed Mar 8, 2018
1 parent 8133f78 commit 2f2bfb23db6bf89a17a7531848de82ba7f15981d
Showing with 2 additions and 51 deletions.
  1. +0 −48 Cargo.lock
  2. +1 −1 components/style/Cargo.toml
  3. +1 −1 ports/geckolib/tests/Cargo.toml
  4. +0 −1 servo-tidy.toml

Some generated files are not rendered by default. Learn more.

@@ -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}
@@ -15,7 +15,7 @@ doctest = false
atomic_refcell = "0.1"
cssparser = "0.23.0"
cstr = "0.1.2"
env_logger = "0.4"
env_logger = { version = "0.4", default-features = false }
euclid = "0.17"
geckoservo = {path = "../../../ports/geckolib"}
libc = "0.2"
@@ -44,7 +44,6 @@ packages = [
"quote",
"unicode-xid",
"log",
"env_logger",
]
# Files that are ignored for all tidy and lint checks.
files = [

0 comments on commit 2f2bfb2

Please sign in to comment.
You can’t perform that action at this time.