about summary refs log tree commit diff
path: root/src/libcore/alloc.rs
AgeCommit message (Expand)AuthorLines
2018-08-01Switch to bootstrapping from 1.29 betaMark Rousskov-5/+1
2018-07-09Implement #[alloc_error_handler]Simon Sapin-0/+1
2018-06-29Move core::alloc::CollectionAllocErr to alloc::collectionsSimon Sapin-28/+0
2018-06-27Document that Layout::from_size_align does not allow align=0Simon Sapin-0/+2
2018-06-18Rename OOM to allocation errorSimon Sapin-24/+24
2018-06-11More alloc docs tweaksSimon Sapin-1/+23
2018-06-11Alloc docs teaksSimon Sapin-5/+0
2018-06-11Stablize the GlobalAlloc traitSimon Sapin-1/+5
2018-06-11Stabilize alloc::Layout (with only some of its methods)Simon Sapin-9/+9
2018-06-11Mark as permanently-unstable some implementation detailsSimon Sapin-1/+1
2018-06-11Stablize the alloc module without changing stability of its contents.Simon Sapin-6/+26
2018-06-11Document memory allocation APIsSimon Sapin-49/+178
2018-06-11Remove alloc::Opaque and use *mut u8 as pointer type for GlobalAllocMike Hommey-41/+24
2018-06-02Rollup merge of #51226 - gnzlbg:nonzero_align, r=SimonSapinMark Simulacrum-37/+43
2018-06-02add missing inline's and optimizationsgnzlbg-4/+11
2018-06-02remove debug_assert in padding_needed_forgnzlbg-3/+0
2018-06-01Simplify HashMap layout calculation by using LayoutAmanieu d'Antras-0/+8
2018-05-30make Layout's align a NonZeroUsizegnzlbg-36/+38
2018-04-22Remove Alloc::oomSteven Fackler-26/+0
2018-04-22Replace GlobalAlloc::oom with a lang itemSteven Fackler-11/+0
2018-04-20Implement Copy for std::alloc::LayoutSimon Sapin-1/+1
2018-04-15Auto merge of #49884 - alexcrichton:less-unwrap, r=Mark-Simulacrumbors-8/+14
2018-04-13core: Remove panics from some `Layout` methodsAlex Crichton-8/+14
2018-04-13core: Inline `From<AllocErr> for CollectionAllocErr`Alex Crichton-0/+1
2018-04-12Initial docs for the GlobalAlloc traitSimon Sapin-5/+39
2018-04-12Rename alloc::Void to alloc::OpaqueSimon Sapin-19/+19
2018-04-12Remove conversions for allocated pointersSimon Sapin-17/+0
2018-04-12Use NonNull<Void> instead of *mut u8 in the Alloc traitMike Hommey-33/+25
2018-04-12Restore Global.oom() functionalitySimon Sapin-0/+4
2018-04-12Conversions between Result<*mut u8, AllocErr>> and *mut VoidSimon Sapin-0/+21
2018-04-12realloc with a new size only, not a full new layout.Simon Sapin-51/+36
2018-04-12Return Result instead of Option in alloc::Layout constructorsSimon Sapin-22/+41
2018-04-12Remove the now-unit-struct AllocErr field inside CollectionAllocErrSimon Sapin-3/+3
2018-04-12Remove the now-unit-struct AllocErr parameter of oom()Simon Sapin-1/+1
2018-04-12Implement GlobalAlloc for SystemSimon Sapin-0/+4
2018-04-12Make AllocErr a zero-size unit structSimon Sapin-50/+8
2018-04-12Rename `heap` modules in the core, alloc, and std crates to `alloc`Simon Sapin-0/+1125