Fix the cfg guards in service/metrics.rs (#5770)

This commit is contained in:
Pierre Krieger
2020-04-24 16:16:54 +02:00
committed by GitHub
parent 770cc24c47
commit f66168505b
2 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ tracing = "0.1.10"
parity-util-mem = { version = "0.6.1", default-features = false, features = ["primitive-types"] }
[target.'cfg(any(unix, windows))'.dependencies]
[target.'cfg(all(any(unix, windows), not(target_os = "android")))'.dependencies]
netstat2 = "0.8.1"
[target.'cfg(target_os = "linux")'.dependencies]