| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-07-27 | mv std libs to library/ | mark | -319/+0 | |
| 2020-06-19 | Apply suggestions from code review | LeSeulArtichaut | -9/+11 | |
| Co-authored-by: nikomatsakis <niko@alum.mit.edu> | ||||
| 2020-06-19 | `#[deny(unsafe_op_in_unsafe_fn)]` in liballoc | LeSeulArtichaut | -21/+30 | |
| 2020-04-05 | Stop importing integer modules in liballoc | Linus Färnstrand | -1/+0 | |
| 2020-03-29 | Implement `init` and `init_offset` on `AllocInit` and mark it unsafe | Tim Diekmann | -4/+4 | |
| 2020-03-28 | Make fields in `MemoryBlock` public | Tim Diekmann | -17/+18 | |
| 2020-03-26 | Remove alignment from `MemoryBlock` | Tim Diekmann | -31/+31 | |
| 2020-03-26 | Fix issues from review and unsoundness of `RawVec::into_box` | Tim Diekmann | -51/+45 | |
| 2020-03-26 | Overhaul of the `AllocRef` trait to match allocator-wg's latest consens | Tim Diekmann | -33/+78 | |
| 2020-03-08 | Allow ZSTs in `AllocRef` | Tim Diekmann | -6/+28 | |
| 2020-03-03 | Remove `usable_size` APIs | Tim Diekmann | -7/+7 | |
| 2020-02-11 | Preparation for allocator aware `Box` | Tim Diekmann | -6/+12 | |
| 2020-01-27 | Rename `Alloc` to `AllocRef` | Tim Diekmann | -11/+11 | |
| 2019-12-22 | Format the world | Mark Rousskov | -15/+8 | |
| 2019-09-25 | Snap cfgs to new beta | Mark Rousskov | -1/+0 | |
| 2019-09-20 | Exempt extern "Rust" from improper_ctypes | Josh Stone | -1/+1 | |
| It should be fine for Rust ABIs to involve any Rust type. | ||||
| 2019-08-02 | liballoc: Unconfigure tests during normal build | Vadim Petrochenkov | -33/+3 | |
| Remove additional libcore-like restrictions from liballoc, turns out the testing works ok if the tests are a part of liballoc itself. | ||||
| 2019-07-04 | Switch master to 1.38 | Mark Rousskov | -2/+1 | |
| 2019-06-08 | Turn `#[allocator]` into a built-in attribute and rename it to ↵ | Vadim Petrochenkov | -1/+2 | |
| `#[rustc_allocator]` | ||||
| 2019-05-04 | Fix intra-doc link resolution failure on re-exporting libstd | Taiki Endo | -0/+18 | |
| 2019-04-18 | make liballoc internal test suite mostly pass in Miri | Ralf Jung | -0/+1 | |
| 2019-02-13 | Clarify guarantees for `Box` allocation | Jethro Beekman | -0/+3 | |
| 2019-02-03 | liballoc: revert nested imports style changes. | Mazdak Farrokhzad | -9/+5 | |
| 2019-02-02 | liballoc: apply uniform_paths. | Mazdak Farrokhzad | -1/+1 | |
| 2019-02-02 | liballoc: refactor & fix some imports. | Mazdak Farrokhzad | -5/+9 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-11-12 | global allocators: add a few comments | Ralf Jung | -0/+4 | |
| 2018-08-20 | Replace usages of ptr::offset with ptr::{add,sub}. | Corey Farwell | -1/+1 | |
| 2018-08-14 | Add doc examples for std::alloc::{alloc,alloc_zeroed}. | Corey Farwell | -0/+31 | |
| 2018-06-18 | Rename OOM to allocation error | Simon Sapin | -7/+7 | |
| The acronym is not descriptive unless one has seen it before. * Rename the `oom` function to `handle_alloc_error`. It was **stabilized in 1.28**, so if we do this at all we need to land it this cycle. * Rename `set_oom_hook` to `set_alloc_error_hook` * Rename `take_oom_hook` to `take_alloc_error_hook` Bikeshed: `alloc` v.s. `allocator`, `error` v.s. `failure` | ||||
| 2018-06-11 | More alloc docs tweaks | Simon Sapin | -2/+4 | |
| 2018-06-11 | Stabilize alloc::oom (but not set_oom_hook or take_oom_hook) | Simon Sapin | -1/+1 | |
| 2018-06-11 | Stabilize alloc free functions for the global allocators. | Simon Sapin | -4/+4 | |
| 2018-06-11 | Stablize the alloc module without changing stability of its contents. | Simon Sapin | -6/+5 | |
| 2018-06-11 | Document memory allocation APIs | Simon Sapin | -0/+65 | |
| Add some docs where they were missing, attempt to fix them where they were out of date. | ||||
| 2018-06-11 | Remove the deprecated Heap type/const | Simon Sapin | -9/+0 | |
| 2018-06-11 | Replace `impl GlobalAlloc for Global` with a set of free functions | Mike Hommey | -23/+25 | |
| 2018-06-11 | Remove alloc::Opaque and use *mut u8 as pointer type for GlobalAlloc | Mike Hommey | -18/+15 | |
| 2018-05-30 | Pass a `Layout` to `oom` | Mike Hommey | -6/+7 | |
| As discussed in https://github.com/rust-lang/rust/issues/49668#issuecomment-384893456 and subsequent, there are use-cases where the OOM handler needs to know the size of the allocation that failed. The alignment might also be a cause for allocation failure, so providing it as well can be useful. | ||||
| 2018-05-24 | std: Ensure OOM is classified as `nounwind` | Alex Crichton | -0/+1 | |
| OOM can't unwind today, and historically it's been optimized as if it can't unwind. This accidentally regressed with recent changes to the OOM handler, so this commit adds in a codegen test to assert that everything gets optimized away after the OOM function is approrpiately classified as nounwind Closes #50925 | ||||
| 2018-05-17 | Auto merge of #50629 - Mark-Simulacrum:stage-step, r=alexcrichton | bors | -46/+1 | |
| Switch to bootstrapping from 1.27 It's possible the Float trait could be removed from core, but I couldn't tell whether it was intended to be removed or not. @SimonSapin may be able to comment more here; we can presumably also do that in a follow up PR as this one is already quite large. | ||||
| 2018-05-17 | Switch to 1.26 bootstrap compiler | Mark Simulacrum | -46/+1 | |
| 2018-05-17 | Rename trans to codegen everywhere. | Irina Popa | -1/+1 | |
| 2018-04-27 | Auto merge of #50097 - glandium:box_free, r=nikomatsakis | bors | -3/+11 | |
| Partial future-proofing for Box<T, A> In some ways, this is similar to @eddyb's PR #47043 that went stale, but doesn't cover everything. Notably, this still leaves Box internalized as a pointer in places, so practically speaking, only ZSTs can be practically added to the Box type with the changes here (the compiler ICEs otherwise). The Box type is not changed here, that's left for the future because I want to test that further first, but this puts things in place in a way that hopefully will make things easier. | ||||
| 2018-04-25 | Switch box_free to take the destructured contents of Box | Mike Hommey | -3/+11 | |
| As of now, Box only contains a Unique pointer, so this is the sole argument to box_free. Consequently, we remove the code supporting the previous box_free signature. We however keep the old definition for bootstrapping purpose. | ||||
| 2018-04-22 | Remove Alloc::oom | Steven Fackler | -5/+0 | |
| 2018-04-22 | Replace GlobalAlloc::oom with a lang item | Steven Fackler | -17/+18 | |
| 2018-04-12 | Rename alloc::Void to alloc::Opaque | Simon Sapin | -13/+13 | |
| 2018-04-12 | Remove conversions for allocated pointers | Simon Sapin | -3/+3 | |
| One was now unused, and `NonNull::new(…).ok_or(AllocErr)` feels short enough for the few cases that need the other conversion. | ||||
| 2018-04-12 | Use NonNull<Void> instead of *mut u8 in the Alloc trait | Mike Hommey | -9/+10 | |
| Fixes #49608 | ||||
