X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc%2FCargo.toml;h=ca6055c46a6473e846dfd2c85e4b808c6ced8ddc;hb=46ad16b70f16795f419eb04b823f4c6485867b32;hp=6e6c0c71a1f3b61c438515ab51e93137f6739289;hpb=77da566cc6fcc2e9debf5bc0edfa34b0f296df69;p=rust.git diff --git a/compiler/rustc/Cargo.toml b/compiler/rustc/Cargo.toml index 6e6c0c71a1f..ca6055c46a6 100644 --- a/compiler/rustc/Cargo.toml +++ b/compiler/rustc/Cargo.toml @@ -11,12 +11,16 @@ rustc_driver = { path = "../rustc_driver" } # crate is intended to be used by codegen backends, which may not be in-tree. rustc_codegen_ssa = { path = "../rustc_codegen_ssa" } -[dependencies.jemalloc-sys] -version = '0.3.0' +[dependencies.tikv-jemalloc-sys] +version = '0.4.0' optional = true features = ['unprefixed_malloc_on_supported_platforms'] +[dependencies.tikv-jemallocator] +version = '0.4.0' +optional = true + [features] -jemalloc = ['jemalloc-sys'] +jemalloc = ['tikv-jemalloc-sys', 'tikv-jemallocator'] llvm = ['rustc_driver/llvm'] max_level_info = ['rustc_driver/max_level_info']