From e63ae022f6c645692b9776d4f118055785f51fdd Mon Sep 17 00:00:00 2001 From: Stephan Dilly Date: Sat, 4 Jul 2020 15:59:32 +0200 Subject: [PATCH] dont use pprof on windows --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index f785125d..066d56cd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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]