Skip to content

Commit 4059112

Browse files
committed
Use package renaming so source doesn't say tikv
1 parent d8a9b45 commit 4059112

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

crates/profile/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ cfg-if = "1"
1515
libc = "0.2.73"
1616
la-arena = { version = "0.2.0", path = "../../lib/arena" }
1717
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 }
1919

2020
[target.'cfg(target_os = "linux")'.dependencies]
2121
perf-event = "0.4"
2222

2323
[features]
2424
cpu_profiler = []
25-
jemalloc = ["tikv-jemalloc-ctl"]
25+
jemalloc = ["jemalloc-ctl"]
2626

2727
# Uncomment to enable for the whole crate graph
2828
# default = [ "cpu_profiler" ]

crates/rust-analyzer/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ proc_macro_srv = { path = "../proc_macro_srv", version = "0.0.0" }
6363
winapi = "0.3.8"
6464

6565
[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 }
6767

6868
[dev-dependencies]
6969
expect-test = "1.1"
@@ -72,5 +72,5 @@ mbe = { path = "../mbe" }
7272
tt = { path = "../tt" }
7373

7474
[features]
75-
jemalloc = ["tikv-jemallocator", "profile/jemalloc"]
75+
jemalloc = ["jemallocator", "profile/jemalloc"]
7676
force-always-assert = ["always-assert/force"]

0 commit comments

Comments
 (0)