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:
Matt Brubeck 2018-03-08 07:43:02 -08:00
parent 8133f788cf
commit 2f2bfb23db
4 changed files with 2 additions and 51 deletions

View file

@ -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"