mirror of
https://github.com/servo/servo.git
synced 2025-07-21 14:23:41 +01:00
Auto merge of #11033 - mbrubeck:max-log, r=metajack
Set max log level on all platforms Servo currently enabled the `release_max_level_info` feature for the log crate in an Android-specific dependency. Currently this works for all platforms because of rust-lang/cargo#2524, but it might break if that issue is fixed. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11033) <!-- Reviewable:end -->
This commit is contained in:
commit
ab12d8098f
1 changed files with 3 additions and 2 deletions
|
@ -19,7 +19,8 @@ doc = false
|
||||||
bench = false
|
bench = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["glutin_app", "webdriver"]
|
default = ["glutin_app", "webdriver", "max_log_level"]
|
||||||
|
max_log_level = ["env_logger/log/release_max_level_info"]
|
||||||
webdriver = ["webdriver_server"]
|
webdriver = ["webdriver_server"]
|
||||||
energy-profiling = ["profile_traits/energy-profiling"]
|
energy-profiling = ["profile_traits/energy-profiling"]
|
||||||
|
|
||||||
|
@ -75,7 +76,7 @@ libc = "0.2"
|
||||||
url = {version = "1.0.0", features = ["heap_size", "serde", "query_encoding"]}
|
url = {version = "1.0.0", features = ["heap_size", "serde", "query_encoding"]}
|
||||||
|
|
||||||
[target.'cfg(target_os = "android")'.dependencies]
|
[target.'cfg(target_os = "android")'.dependencies]
|
||||||
log = {version = "0.3", features = ["release_max_level_info"]}
|
log = "0.3"
|
||||||
|
|
||||||
[target.'cfg(not(target_os = "windows"))'.dependencies]
|
[target.'cfg(not(target_os = "windows"))'.dependencies]
|
||||||
gaol = {git = "https://github.com/servo/gaol"}
|
gaol = {git = "https://github.com/servo/gaol"}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue