mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
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.
This commit is contained in:
parent
0baf665721
commit
8f26c15a2e
1 changed files with 3 additions and 2 deletions
|
@ -19,7 +19,8 @@ doc = false
|
|||
bench = false
|
||||
|
||||
[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"]
|
||||
energy-profiling = ["profile_traits/energy-profiling"]
|
||||
|
||||
|
@ -75,7 +76,7 @@ libc = "0.2"
|
|||
url = {version = "1.0.0", features = ["heap_size", "serde", "query_encoding"]}
|
||||
|
||||
[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]
|
||||
gaol = {git = "https://github.com/servo/gaol"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue