about summary refs log tree commit diff
path: root/library/std/src/alloc.rs
AgeCommit message (Expand)AuthorLines
2025-07-03Make __rust_alloc_error_handler_should_panic a functionDaniel Paoliello-2/+2
2025-04-27use generic Atomic type where possibleChristopher Durham-2/+2
2025-04-09update cfgsBoxy-1/+1
2025-03-17Mark imports of #[rustc_std_internal_symbol] items with this attributebjorn3-0/+1
2025-02-14std: Apply unsafe_op_in_unsafe_fnEric Huss-4/+4
2025-02-09Mark extern blocks as unsafeMichael Goulet-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+1
2024-06-11Unify guarantees about the default allocatorTobias Bucher-1/+3
2024-05-03default_alloc_error_hook: explain difference to default __rdl_oom in allocRalf Jung-0/+6
2024-03-19SeqCst->{Release,Acquire} for alloc error hook.Mara Bos-3/+3
2024-01-13libs: use `assert_unchecked` instead of intrinsicjoboet-3/+3
2023-08-19Correct and expand documentation of `handle_alloc_error` and `set_alloc_error...Kevin Reid-6/+20
2023-07-24remove additional [allow(unused_unsafe)]James Dietz-1/+0
2023-01-08Change memory ordering in System wrapper exampleMikail Bagishov-4/+4
2023-01-02default OOM handler: use non-unwinding panic (unless -Zoom=panic is set), to ...Ralf Jung-1/+1
2022-09-03Forbid mixing `System` with sytem allocator callsChristopher Durham-1/+4
2022-06-26Update `std::alloc::System` docsLukas Wirth-1/+1
2022-06-18make std not use &A: Allocator instanceRalf Jung-4/+4
2022-06-07Add std::alloc::set_alloc_error_hook exampleLucas Dumont-0/+14
2022-05-04update `jemallocator` example to use 2018 edition import syntaxkraktus-2/+0
2022-04-05trivial cfg(bootstrap) changesPietro Albini-3/+0
2022-03-18Auto merge of #88098 - Amanieu:oom_panic, r=nagisabors-1/+15
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-1/+1
2022-03-03Add -Z oom={panic,abort} command-line optionAmanieu d'Antras-1/+15
2021-05-19Rename `rterr` to `rtprintpanic`Christiaan Dirkx-1/+1
2021-05-19Replace `sys_common::util::dumb_print` with `rterr!`Christiaan Dirkx-3/+1
2021-01-07Fix safety commentLingMan-2/+3
2020-12-17Add missing punctuation to std::alloc docspierwill-1/+1
2020-12-04 Rename `AllocRef` to `Allocator` and `(de)alloc` to `(de)allocate`Tim Diekmann-10/+10
2020-11-10Add missing newline to error message of the default OOM hookhyd-dev-1/+1
2020-09-28Rename AllocErr to AllocErrorJacob Hughes-10/+10
2020-09-22a few more &mut self -> self changesblitzerr-8/+8
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-19Allow reallocation to different alignmentTim Diekmann-32/+53
2020-08-18Make `grow_impl` unsafeTim Diekmann-3/+6
2020-08-18Add comment, which was removed by accident (again)Tim Diekmann-0/+2
2020-08-18Clean up AllocRef implementation and documentationTim Diekmann-77/+77
2020-08-18Auto merge of #75621 - TimDiekmann:no-fast-realloc, r=Amanieubors-17/+10
2020-08-17Switch to intra-doc links for std/src/alloc.rsEllen-9/+0
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-12/+16
2020-07-29Simplify implementations of `AllocRef` for `Global` and `System`Tim Diekmann-124/+73
2020-07-28Remove in-place allocation and revert to separate methods for zeroed allocationsTim Diekmann-66/+115
2020-07-27mv std libs to library/mark-0/+379