Skip to content

Commit c866ae5

Browse files
authored
Rollup merge of #93431 - lqd:remove-jemallocator, r=Mark-Simulacrum
remove unused `jemallocator` crate When it was noticed that the rustc binary wasn't actually using jemalloc via `#[global_allocator]` and that was removed, the dependency remained. Tests pass locally with a `jemalloc = true` build, but I'll trigger a try build to ensure I haven't missed an edge-case somewhere. r? ```@ghost``` until that completes
2 parents 6621ff4 + f9e0eb3 commit c866ae5

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

Diff for: Cargo.lock

-11
Original file line numberDiff line numberDiff line change
@@ -3319,7 +3319,6 @@ dependencies = [
33193319
"rustc_codegen_ssa",
33203320
"rustc_driver",
33213321
"tikv-jemalloc-sys",
3322-
"tikv-jemallocator",
33233322
]
33243323

33253324
[[package]]
@@ -5164,16 +5163,6 @@ dependencies = [
51645163
"libc",
51655164
]
51665165

5167-
[[package]]
5168-
name = "tikv-jemallocator"
5169-
version = "0.4.1"
5170-
source = "registry+https://github.com/rust-lang/crates.io-index"
5171-
checksum = "3c14a5a604eb8715bc5785018a37d00739b180bcf609916ddf4393d33d49ccdf"
5172-
dependencies = [
5173-
"libc",
5174-
"tikv-jemalloc-sys",
5175-
]
5176-
51775166
[[package]]
51785167
name = "time"
51795168
version = "0.1.43"

Diff for: compiler/rustc/Cargo.toml

+1-5
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,7 @@ version = '0.4.0'
1515
optional = true
1616
features = ['unprefixed_malloc_on_supported_platforms']
1717

18-
[dependencies.tikv-jemallocator]
19-
version = '0.4.0'
20-
optional = true
21-
2218
[features]
23-
jemalloc = ['tikv-jemalloc-sys', 'tikv-jemallocator']
19+
jemalloc = ['tikv-jemalloc-sys']
2420
llvm = ['rustc_driver/llvm']
2521
max_level_info = ['rustc_driver/max_level_info']

0 commit comments

Comments
 (0)