]> git.lizzy.rs Git - rust.git/commit
auto merge of #14230 : alexcrichton/rust/liballoc, r=cmr,huonw
authorbors <bors@rust-lang.org>
Sun, 18 May 2014 05:01:28 +0000 (22:01 -0700)
committerbors <bors@rust-lang.org>
Sun, 18 May 2014 05:01:28 +0000 (22:01 -0700)
commit134f797a6309e8f284372c745689bcde17829c30
treec83e9a016521d21e9c10a553365c0d1b68e6b005
parent3da5a5cd18dc2a2177160772725946c3b4512f7c
parent4a1d21ab7b8d08398649d9c6a9641acebb6bc01c
auto merge of #14230 : alexcrichton/rust/liballoc, r=cmr,huonw

This commit is part of the libstd facade RFC, issue #13851. This creates a new
library, liballoc, which is intended to be the core allocation library for all
of Rust. It is pinned on the basic assumption that an allocation failure is an
abort or failure.

This module has inherited the heap/libc_heap modules from std::rt, the owned/rc
modules from std, and the arc module from libsync. These three pointers are
currently the three most core pointer implementations in Rust.

The UnsafeArc type in std::sync should be considered deprecated and replaced by
`Arc<Unsafe<T>>`. This commit does not currently migrate to this type, but future
commits will continue this refactoring.