Skip to content

Commit e63ae02

Browse files
author
Stephan Dilly
committed
dont use pprof on windows
1 parent 23d61b4 commit e63ae02

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ ron = "0.6"
3939
serde = "1.0"
4040
anyhow = "1.0.31"
4141
unicode-width = "0.1"
42+
43+
[target.'cfg(unix)'.dependencies]
44+
pprof = { version = "0.3", features = ["flamegraph"], optional = true }
45+
[target.'cfg(macos)'.dependencies]
4246
pprof = { version = "0.3", features = ["flamegraph"], optional = true }
4347

4448
[badges]

0 commit comments

Comments
 (0)