about summary refs log tree commit diff
path: root/library/alloc/src/alloc.rs
AgeCommit message (Expand)AuthorLines
2022-05-19Auto merge of #97033 - nbdd0121:unwind3, r=Amanieubors-2/+2
2022-05-14Rollup merge of #95365 - mkroening:hermit-alloc-error-handler, r=joshtriplettYuki Okushi-1/+1
2022-05-14Use Rust ABI for `__rust_start_panic` and `_{rdl,rg}_oom`Gary Guo-2/+2
2022-04-05trivial cfg(bootstrap) changesPietro Albini-5/+1
2022-03-27Use default alloc_error_handler for hermitMartin Kröning-1/+1
2022-03-21Rename `~const Drop` to `~const Destruct`Deadbeef-1/+7
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-1/+1
2022-02-05Mark __rgl_oom and __rd_oom as "C-unwind"Amanieu d'Antras-2/+2
2022-02-05Allow handle_alloc_error to unwindAmanieu d'Antras-2/+0
2022-01-04Add tracking issues (`const_box`, `const_alloc_error`)woppopo-2/+2
2021-12-23Constify `Box<T, A>` methodswoppopo-5/+18
2021-10-30Add #[must_use] to alloc functions that would leak memoryJohn Kugelman-0/+3
2021-09-25Use Rvalue::ShallowInitBox for box expressionGary Guo-1/+0
2021-08-22Fix typos “a”→“an”Frank Steffahn-1/+1
2021-05-05alloc: Add unstable Cfg feature `no-global_oom_handling`John Ericson-4/+5
2021-01-12move WriteCloneIntoRaw into alloc::allocJosh Stone-0/+23
2020-12-04 Rename `AllocRef` to `Allocator` and `(de)alloc` to `(de)allocate`Tim Diekmann-20/+20
2020-11-23Auto merge of #79172 - a1phyr:cold_abort, r=Mark-Simulacrumbors-0/+1
2020-11-19Bump bootstrap compiler versionJake Goulding-17/+2
2020-11-18Add #[cold] to `abort` and `handle_alloc_error`Benoît du Garreau-0/+1
2020-11-15document that __rust_alloc is also magic to our LLVM forkRalf Jung-0/+2
2020-10-25Merge remote-tracking branch 'upstream/master' into box-allocTim Diekmann-1/+1
2020-10-24Rollup merge of #77610 - hermitcore:dtors, r=m-ou-seJonas Schievink-1/+1
2020-10-16Merge branch 'master' into box-allocTim Diekmann-6/+15
2020-10-13minor changes to pass the format checkStefan Lankes-1/+1
2020-10-13move __rg_oom to the libos to avoid duplicated symbolsStefan Lankes-1/+1
2020-10-12Use intra-doc links for links to module-level docsCamelid-3/+3
2020-10-09rename __default_lib_allocator -> __default_alloc_error_handlerRalf Jung-1/+1
2020-10-09also extend global allocator commentRalf Jung-2/+3
2020-10-09fix __rust_alloc_error_handler commentRalf Jung-2/+10
2020-10-07Support custom allocators in `Box`Tim Diekmann-4/+15
2020-10-02Implement Make `handle_alloc_error` default to panic (for no_std + liballoc)Harald Hoyer-0/+47
2020-09-28Rename AllocErr to AllocErrorJacob Hughes-10/+10
2020-09-22a few more &mut self -> self changesblitzerr-4/+4
2020-09-22removing &mut self for other methods of AllocRefblitzerr-2/+2
2020-09-21Changing the alloc() to accept &self instead of &mut selfblitzerr-2/+2
2020-09-08Capitalize safety commentsFlying-Toast-1/+1
2020-08-26Auto merge of #75687 - TimDiekmann:realloc-align, r=Amanieubors-34/+55
2020-08-21Use intra-doc-links in `alloc`LeSeulArtichaut-18/+0
2020-08-19Allow reallocation to different alignmentTim Diekmann-34/+55
2020-08-18Make `grow_impl` unsafeTim Diekmann-3/+6
2020-08-18Clean up AllocRef implementation and documentationTim Diekmann-74/+71
2020-08-17Fix typo in commentTim Diekmann-2/+2
2020-08-17Remove fast path in reallocation for same layout sizesTim Diekmann-17/+10
2020-08-04Replace `Memoryblock` with `NonNull<[u8]>`Tim Diekmann-13/+17
2020-07-29Simplify implementations of `AllocRef` for `Global` and `System`Tim Diekmann-71/+70
2020-07-28Remove in-place allocation and revert to separate methods for zeroed allocationsTim Diekmann-43/+69
2020-07-27mv std libs to library/mark-0/+319