Skip to content

Commit 70cfebb

Browse files
committed
Fix building rustdoc and clippy with jemalloc feature
1 parent a72893f commit 70cfebb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ tempfile = { version = "3.20", optional = true }
3131
termize = "0.2"
3232
color-print = "0.3.4"
3333
anstream = "0.6.18"
34+
tikv-jemalloc-sys = { version = "0.6.1", optional = true, features = ['override_allocator_on_supported_platforms'] }
3435

3536
[dev-dependencies]
3637
cargo_metadata = "0.18.1"
@@ -56,7 +57,7 @@ rustc_tools_util = { path = "rustc_tools_util", version = "0.4.2" }
5657
[features]
5758
integration = ["dep:tempfile"]
5859
internal = ["dep:clippy_lints_internal", "dep:tempfile"]
59-
jemalloc = []
60+
jemalloc = ["dep:tikv-jemalloc-sys"]
6061

6162
[package.metadata.rust-analyzer]
6263
# This package uses #[feature(rustc_private)]

0 commit comments

Comments
 (0)