]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc/Cargo.toml
New upstream version 1.53.0+dfsg1
[rustc.git] / compiler / rustc / Cargo.toml
index 6e6c0c71a1f3b61c438515ab51e93137f6739289..ca6055c46a6473e846dfd2c85e4b808c6ced8ddc 100644 (file)
@@ -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']