diff options
-rw-r--r-- | crates/profile/Cargo.toml | 4 | ||||
-rw-r--r-- | crates/rust-analyzer/Cargo.toml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/crates/profile/Cargo.toml b/crates/profile/Cargo.toml index 98df79a8f..1a8c8f862 100644 --- a/crates/profile/Cargo.toml +++ b/crates/profile/Cargo.toml | |||
@@ -15,14 +15,14 @@ cfg-if = "1" | |||
15 | libc = "0.2.73" | 15 | libc = "0.2.73" |
16 | la-arena = { version = "0.2.0", path = "../../lib/arena" } | 16 | la-arena = { version = "0.2.0", path = "../../lib/arena" } |
17 | countme = { version = "2.0.1", features = ["enable"] } | 17 | countme = { version = "2.0.1", features = ["enable"] } |
18 | tikv-jemalloc-ctl = { version = "0.4.1", optional = true } | 18 | jemalloc-ctl = { version = "0.4.1", package = "tikv-jemalloc-ctl", optional = true } |
19 | 19 | ||
20 | [target.'cfg(target_os = "linux")'.dependencies] | 20 | [target.'cfg(target_os = "linux")'.dependencies] |
21 | perf-event = "0.4" | 21 | perf-event = "0.4" |
22 | 22 | ||
23 | [features] | 23 | [features] |
24 | cpu_profiler = [] | 24 | cpu_profiler = [] |
25 | jemalloc = ["tikv-jemalloc-ctl"] | 25 | jemalloc = ["jemalloc-ctl"] |
26 | 26 | ||
27 | # Uncomment to enable for the whole crate graph | 27 | # Uncomment to enable for the whole crate graph |
28 | # default = [ "cpu_profiler" ] | 28 | # default = [ "cpu_profiler" ] |
diff --git a/crates/rust-analyzer/Cargo.toml b/crates/rust-analyzer/Cargo.toml index 4b40e41ac..3010815df 100644 --- a/crates/rust-analyzer/Cargo.toml +++ b/crates/rust-analyzer/Cargo.toml | |||
@@ -63,7 +63,7 @@ proc_macro_srv = { path = "../proc_macro_srv", version = "0.0.0" } | |||
63 | winapi = "0.3.8" | 63 | winapi = "0.3.8" |
64 | 64 | ||
65 | [target.'cfg(not(target_env = "msvc"))'.dependencies] | 65 | [target.'cfg(not(target_env = "msvc"))'.dependencies] |
66 | tikv-jemallocator = { version = "0.4.1", optional = true } | 66 | jemallocator = { version = "0.4.1", package = "tikv-jemallocator", optional = true } |
67 | 67 | ||
68 | [dev-dependencies] | 68 | [dev-dependencies] |
69 | expect-test = "1.1" | 69 | expect-test = "1.1" |
@@ -72,5 +72,5 @@ mbe = { path = "../mbe" } | |||
72 | tt = { path = "../tt" } | 72 | tt = { path = "../tt" } |
73 | 73 | ||
74 | [features] | 74 | [features] |
75 | jemalloc = ["tikv-jemallocator", "profile/jemalloc"] | 75 | jemalloc = ["jemallocator", "profile/jemalloc"] |
76 | force-always-assert = ["always-assert/force"] | 76 | force-always-assert = ["always-assert/force"] |