summary refs log tree commit diff
path: root/library/core/src/alloc
AgeCommit message (Expand)AuthorLines
2022-05-28Rollup merge of #97034 - fee1-dead-contrib:layout-hash, r=dtolnayDylan DPC-1/+1
2022-05-14Remove potentially misleading realloc parentheticalCAD97-9/+5
2022-05-14Implement `Hash` for `core::alloc::Layout`Deadbeef-1/+1
2022-04-14Remove use of `#[rustc_deprecated]`Jacob Pratt-4/+4
2022-04-11fix Layout struct member naming styleliangyongrui-5/+5
2022-04-09Rollup merge of #95361 - scottmcm:valid-align, r=Mark-SimulacrumDylan DPC-6/+5
2022-04-08Make non-power-of-two alignments a validity error in `Layout`Scott McMurray-6/+5
2022-04-02Rollup merge of #95354 - dtolnay:rustc_const_stable, r=lcnrDylan DPC-4/+4
2022-03-31add notes about alignment-altering reallocs to Allocator docsAutumn-0/+6
2022-03-31Adjust feature names that disagree on const stabilization versionDavid Tolnay-4/+4
2022-03-29Make the stdlib largely conform to strict provenance.Aria Beingessner-1/+1
2021-12-14Fix a bunch of typosFrank Steffahn-2/+2
2021-11-26Optimize `Layout::array`.Nicholas Nethercote-3/+11
2021-11-26Use unchecked construction in `Layout::pad_to_align`.Nicholas Nethercote-1/+3
2021-10-30Add #[must_use] to remaining core functionsJohn Kugelman-0/+4
2021-10-11Add #[must_use] to non-mutating verb methodsJohn Kugelman-0/+6
2021-10-11Rollup merge of #89753 - jkugelman:must-use-from_value-conversions, r=joshtri...Guillaume Gomez-0/+1
2021-10-10Add #[must_use] to from_value conversionsJohn Kugelman-0/+1
2021-10-10Add #[must_use] to core and std constructorsJohn Kugelman-0/+1
2021-07-30Consistent spelling of "adapter" in the standard libraryFrank Steffahn-2/+2
2021-07-29Fix may not to appropriate might not or must notAli Malik-1/+1
2021-07-21docs: GlobalAlloc: Make example only require 4096-aligned staticIan Jackson-3/+3
2021-07-20docs: GlobalAlloc: completely replace example with one that worksIan Jackson-11/+56
2021-06-24Use `#[non_exhaustive]` where appropriateJacob Pratt-10/+9
2021-03-15Fix const stability `since` versions.Oli Scherer-1/+1
2021-03-02Rollup merge of #80189 - jyn514:convert-primitives, r=poliorceticsYuki Okushi-1/+0
2021-02-28Try to clarify GlobalAlloc::realloc documentation comment.Vytautas Astrauskas-2/+5
2021-02-25Convert primitives to use intra-doc linksJoshua Nelson-1/+0
2021-02-05Rollup merge of #81767 - exrook:layout-error-stability, r=Mark-SimulacrumMara Bos-4/+4
2021-02-04Update LayoutError/LayoutErr stability attributesJacob Hughes-4/+4
2021-02-03make Allocator object-safeRustyYato-1/+4
2021-01-03Auto merge of #79827 - tmiasko:size-align, r=kennytmbors-0/+6
2020-12-26Auto merge of #79045 - oli-obk:dont_rely_on_alloc_happening_for_soundness, r=...bors-0/+21
2020-12-26DIrect invocations of `AllocRef::alloc` cannot get optimized awayoli-21/+0
2020-12-26Adjust markdown text to be more like the rendered textoli-8/+5
2020-12-26Update library/core/src/alloc/mod.rsOli Scherer-1/+1
2020-12-26Update library/core/src/alloc/global.rsOli Scherer-1/+1
2020-12-10Describe why `size_align` have not been inlined so farTomasz Miąsko-0/+6
2020-12-04Update documentation to review commentsoli-8/+21
2020-12-04 Rename `AllocRef` to `Allocator` and `(de)alloc` to `(de)allocate`Tim Diekmann-33/+33
2020-11-22Stabilize `alloc::Layout const` functionsChris Denton-3/+3
2020-11-19Inform tidy about the reason for the ignored rust codeoli-2/+2
2020-11-19Elaborate on side effectsoli-1/+2
2020-11-19Fix tidyoli-2/+2
2020-11-19Note that there are other optimizations than the one showcasedoli-0/+6
2020-11-19Document that heap allocations are not guaranteed to happen, even if explicit...oli-0/+25
2020-11-16Rollup merge of #77691 - exrook:rename-layouterr, r=KodrAusMara Bos-26/+45
2020-10-27Change layouterr deprecation messageJacob Hughes-2/+2
2020-10-15Deny broken intra-doc links in linkcheckerJoshua Nelson-9/+3
2020-10-08Deprecate LayoutErrJacob Hughes-1/+14