From 56c090d0d0ad68c0dd195684e4d8180ea149692f Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Tue, 21 Jul 2020 19:30:17 +0200 Subject: Allow gathering memory stats on non-jemalloc Linux --- crates/ra_prof/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crates/ra_prof/Cargo.toml') diff --git a/crates/ra_prof/Cargo.toml b/crates/ra_prof/Cargo.toml index b3d52985a..2e60858f1 100644 --- a/crates/ra_prof/Cargo.toml +++ b/crates/ra_prof/Cargo.toml @@ -14,6 +14,8 @@ ra_arena = { path = "../ra_arena" } once_cell = "1.3.1" backtrace = { version = "0.3.44", optional = true } mimalloc = { version = "0.1.19", default-features = false, optional = true } +cfg-if = "0.1.10" +libc = "0.2.73" [target.'cfg(not(target_env = "msvc"))'.dependencies] jemallocator = { version = "0.3.2", optional = true } -- cgit v1.2.3