dont use pprof on windows

This commit is contained in:
Stephan Dilly 2020-07-04 15:59:32 +02:00
parent 23d61b4ab2
commit e63ae022f6

View file

@ -39,6 +39,10 @@ ron = "0.6"
serde = "1.0"
anyhow = "1.0.31"
unicode-width = "0.1"
[target.'cfg(unix)'.dependencies]
pprof = { version = "0.3", features = ["flamegraph"], optional = true }
[target.'cfg(macos)'.dependencies]
pprof = { version = "0.3", features = ["flamegraph"], optional = true }
[badges]