Fix building rustdoc and clippy with jemalloc feature
This commit is contained in:
parent
a72893f708
commit
70cfebbddc
1 changed files with 2 additions and 1 deletions
|
|
@ -31,6 +31,7 @@ tempfile = { version = "3.20", optional = true }
|
||||||
termize = "0.2"
|
termize = "0.2"
|
||||||
color-print = "0.3.4"
|
color-print = "0.3.4"
|
||||||
anstream = "0.6.18"
|
anstream = "0.6.18"
|
||||||
|
tikv-jemalloc-sys = { version = "0.6.1", optional = true, features = ['override_allocator_on_supported_platforms'] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
cargo_metadata = "0.18.1"
|
cargo_metadata = "0.18.1"
|
||||||
|
|
@ -56,7 +57,7 @@ rustc_tools_util = { path = "rustc_tools_util", version = "0.4.2" }
|
||||||
[features]
|
[features]
|
||||||
integration = ["dep:tempfile"]
|
integration = ["dep:tempfile"]
|
||||||
internal = ["dep:clippy_lints_internal", "dep:tempfile"]
|
internal = ["dep:clippy_lints_internal", "dep:tempfile"]
|
||||||
jemalloc = []
|
jemalloc = ["dep:tikv-jemalloc-sys"]
|
||||||
|
|
||||||
[package.metadata.rust-analyzer]
|
[package.metadata.rust-analyzer]
|
||||||
# This package uses #[feature(rustc_private)]
|
# This package uses #[feature(rustc_private)]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue