From 59822e2c6f2e6040a3083f0f330fd35c87f3f140 Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Sun, 3 Mar 2024 11:34:34 +0200 Subject: [PATCH] core: Don't depend on pprof on Windows --- core/Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/Cargo.toml b/core/Cargo.toml index c334b7708..1bdebe8ed 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -31,9 +31,11 @@ fallible-iterator = "0.3.0" log = "0.4.20" sqlite3-parser = "0.11.0" +[target.'cfg(not(target_family = "windows"))'.dev-dependencies] +pprof = { version = "0.12.1", features = ["criterion", "flamegraph"] } + [dev-dependencies] criterion = { version = "0.5", features = ["html_reports", "async", "async_futures"] } -pprof = { version = "0.12.1", features = ["criterion", "flamegraph"] } rstest = "0.18.2" rusqlite = "0.29.0"