From 1b1ca6d5465ef4de12b1adf25cd4598f261c660d Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Fri, 25 Apr 2014 02:19:34 -0400 Subject: add back jemalloc to the tree This adds a `std::rt::heap` module with a nice allocator API. It's a step towards fixing #13094 and is a starting point for working on a generic allocator trait. The revision used for the jemalloc submodule is the stable 3.6.0 release. Closes #11807 --- src/libstd/rt/mod.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/libstd/rt/mod.rs') diff --git a/src/libstd/rt/mod.rs b/src/libstd/rt/mod.rs index 5b9c314d42b..904921cfa18 100644 --- a/src/libstd/rt/mod.rs +++ b/src/libstd/rt/mod.rs @@ -89,7 +89,10 @@ mod macros; // The global (exchange) heap. pub mod global_heap; -// Implementations of language-critical runtime features like @. +/// The low-level memory allocation API. +pub mod heap; + +/// Implementations of language-critical runtime features like @. pub mod task; // The EventLoop and internal synchronous I/O interface. -- cgit 1.4.1-3-g733a5