From accb4948895b80daadb989a4fc00f112c4e3fb76 Mon Sep 17 00:00:00 2001 From: Debian Rust Maintainers Date: Sat, 2 Oct 2021 01:08:00 +0100 Subject: [PATCH] d-0005-no-jemalloc Description: remove jemalloc-sys Forwarded: not-needed Gbp-Pq: Topic prune Gbp-Pq: Name d-0005-no-jemalloc.patch --- compiler/rustc/Cargo.toml | 6 ------ src/tools/rust-analyzer/crates/profile/Cargo.toml | 2 -- src/tools/rust-analyzer/crates/rust-analyzer/Cargo.toml | 4 ---- 3 files changed, 12 deletions(-) diff --git a/compiler/rustc/Cargo.toml b/compiler/rustc/Cargo.toml index 3ca7523544..398538ddb7 100644 --- a/compiler/rustc/Cargo.toml +++ b/compiler/rustc/Cargo.toml @@ -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'] diff --git a/src/tools/rust-analyzer/crates/profile/Cargo.toml b/src/tools/rust-analyzer/crates/profile/Cargo.toml index 4828419003..f60282f270 100644 --- a/src/tools/rust-analyzer/crates/profile/Cargo.toml +++ b/src/tools/rust-analyzer/crates/profile/Cargo.toml @@ -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" ] diff --git a/src/tools/rust-analyzer/crates/rust-analyzer/Cargo.toml b/src/tools/rust-analyzer/crates/rust-analyzer/Cargo.toml index b301a7189b..72768d67ec 100644 --- a/src/tools/rust-analyzer/crates/rust-analyzer/Cargo.toml +++ b/src/tools/rust-analyzer/crates/rust-analyzer/Cargo.toml @@ -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", -- 2.30.2