d-0005-no-jemalloc
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Sat, 2 Oct 2021 00:08:00 +0000 (01:08 +0100)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Fri, 26 Dec 2025 19:54:51 +0000 (20:54 +0100)
Description: remove jemalloc-sys

Forwarded: not-needed

Gbp-Pq: Topic prune
Gbp-Pq: Name d-0005-no-jemalloc.patch

compiler/rustc/Cargo.toml
src/tools/rust-analyzer/crates/profile/Cargo.toml
src/tools/rust-analyzer/crates/rust-analyzer/Cargo.toml

index 3ca752354466fa729298040f771075a7531c154f..398538ddb7c67fec545c44be8d205ac33332e59a 100644 (file)
@@ -20,15 +20,9 @@ rustc_public = { path = "../rustc_public" }
 rustc_public_bridge = { path = "../rustc_public_bridge" }
 # tidy-alphabetical-end
 
-[dependencies.tikv-jemalloc-sys]
-version = "0.6.0"
-optional = true
-features = ['unprefixed_malloc_on_supported_platforms']
-
 [features]
 # tidy-alphabetical-start
 check_only = ['rustc_driver_impl/check_only']
-jemalloc = ['dep:tikv-jemalloc-sys']
 llvm = ['rustc_driver_impl/llvm']
 max_level_info = ['rustc_driver_impl/max_level_info']
 rustc_randomized_layouts = ['rustc_driver_impl/rustc_randomized_layouts']
index 4828419003a60106de690b15a5ab695803e3af8d..f60282f2705a9b6299e020538eb52580a2d2850c 100644 (file)
@@ -14,7 +14,6 @@ doctest = false
 
 [dependencies]
 cfg-if = "1.0.1"
-jemalloc-ctl = { version = "0.5.4", package = "tikv-jemalloc-ctl", optional = true }
 
 [target.'cfg(all(target_os = "linux", not(target_env = "ohos")))'.dependencies]
 perf-event = "=0.4.7"
@@ -30,7 +29,6 @@ windows-sys = { version = "0.60", features = [
 
 [features]
 cpu_profiler = []
-jemalloc = ["jemalloc-ctl"]
 
 # Uncomment to enable for the whole crate graph
 # default = [ "cpu_profiler" ]
index b301a7189b3c9b13e98a0256d1b6d2a84f4215b4..72768d67ec97459fd1d7038ef8eb53175351e3a7 100644 (file)
@@ -81,9 +81,6 @@ windows-sys = { version = "0.60", features = [
   "Win32_System_Threading",
 ] }
 
-[target.'cfg(not(target_env = "msvc"))'.dependencies]
-jemallocator = { version = "0.5.4", package = "tikv-jemallocator", optional = true }
-
 [dev-dependencies]
 expect-test = "1.5.1"
 xshell.workspace = true
@@ -93,7 +90,6 @@ test-fixture.workspace = true
 syntax-bridge.workspace = true
 
 [features]
-jemalloc = ["jemallocator", "profile/jemalloc"]
 force-always-assert = ["stdx/force-always-assert"]
 in-rust-tree = [
   "syntax/in-rust-tree",