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>
Wed, 8 Apr 2026 17:02:02 +0000 (19:02 +0200)
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 8cef9e0644bb02cd437ba8a93d40278250513a2b..8e1e936c6440c61362e0c4f5f42db13c937b1887 100644 (file)
@@ -27,15 +27,9 @@ getrandom = "=0.3.3"
 wasi = "=0.14.2"
 
 
-[dependencies.tikv-jemalloc-sys]
-version = "0.6.1"
-optional = true
-features = ['override_allocator_on_supported_platforms']
-
 [features]
 # tidy-alphabetical-start
 check_only = ['rustc_driver_impl/check_only']
-jemalloc = ['dep:tikv-jemalloc-sys']
 llvm = ['rustc_driver_impl/llvm']
 llvm_enzyme = ['rustc_driver_impl/llvm_enzyme']
 llvm_offload = ['rustc_driver_impl/llvm_offload']
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 2e48c5a5a66c5e12778a10c9a1b2c54f43c43abe..acee8c02d8ec4a0a123bd618c3ac5f2ee28ce639 100644 (file)
@@ -83,9 +83,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
@@ -95,7 +92,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",