about summary refs log tree commit diff
path: root/library/std
diff options
context:
space:
mode:
authorTrevor Gross <t.gross35@gmail.com>2025-07-26 01:15:09 -0500
committerGitHub <noreply@github.com>2025-07-26 01:15:09 -0500
commita230b4ff02b4216bc21e4d3106d87b654041814f (patch)
treedf0329c90cb372b179457aef69da6956a4511316 /library/std
parent6b1b68f4ee9314e4286f98d38f8b0f3cde3938c5 (diff)
parent93d2003c9a4a35522b3528a4df638dd4e315bd14 (diff)
downloadrust-a230b4ff02b4216bc21e4d3106d87b654041814f.tar.gz
rust-a230b4ff02b4216bc21e4d3106d87b654041814f.zip
Rollup merge of #144364 - alexcrichton:update-dlmalloc, r=Mark-Simulacrum
Update `dlmalloc` dependency of libstd

This primarily pulls in alexcrichton/dlmalloc-rs#55 and alexcrichton/dlmalloc-rs#54 to address rust-lang/rust#144199. Notably the highest byte in the wasm address space is no longer allocatable and additionally the allocator internally uses `wrapping_add` instead of `add` on pointers since on 32-bit platforms offsets might be larger than half the address space.

Closes rust-lang/rust#144199
Diffstat (limited to 'library/std')
-rw-r--r--library/std/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/Cargo.toml b/library/std/Cargo.toml
index ba1e1f5218a..57859ea9147 100644
--- a/library/std/Cargo.toml
+++ b/library/std/Cargo.toml
@@ -63,7 +63,7 @@ rand = { version = "0.9.0", default-features = false, features = ["alloc"] }
 rand_xorshift = "0.4.0"
 
 [target.'cfg(any(all(target_family = "wasm", target_os = "unknown"), target_os = "xous", all(target_vendor = "fortanix", target_env = "sgx")))'.dependencies]
-dlmalloc = { version = "0.2.4", features = ['rustc-dep-of-std'] }
+dlmalloc = { version = "0.2.10", features = ['rustc-dep-of-std'] }
 
 [target.x86_64-fortanix-unknown-sgx.dependencies]
 fortanix-sgx-abi = { version = "0.5.0", features = [