about summary refs log tree commit diff
path: root/compiler/rustc_arena
AgeCommit message (Expand)AuthorLines
2023-12-05rustc_arena: add `alloc_str`Josh Stone-0/+22
2023-12-04Document reentrancy in `*Arena::alloc_from_iter`Nadrieril-16/+25
2023-11-15Bump cfg(bootstrap)sMark Rousskov-2/+2
2023-10-30Clean up `rustc_*/Cargo.toml`.Nicholas Nethercote-0/+2
2023-10-25Stabilize `[const_]pointer_byte_offsets`Maybe Waffle-1/+0
2023-10-08rustdoc: remove rust logo from non-Rust cratesMichael Howell-0/+2
2023-10-03Remove the `TypedArena::alloc_from_iter` specialization.Nicholas Nethercote-90/+45
2023-09-28Inline and remove `DroplessArena::alloc_raw_without_grow`.Nicholas Nethercote-29/+22
2023-09-28Reduce `grow_and_alloc_raw` to a single call site.Nicholas Nethercote-12/+12
2023-09-28Make `DroplessArena::alloc` call `DroplessArena::alloc_raw`.Nicholas Nethercote-8/+1
2023-09-28Use `Layout::new` consistently in `DroplessArena::alloc`.Nicholas Nethercote-2/+3
2023-09-28Remove `unsafe` from `TypedArena::alloc_raw_slice`.Nicholas Nethercote-4/+4
2023-09-28Inline and remove `TypedArena::ensure_capacity`.Nicholas Nethercote-12/+7
2023-09-28Inline and remove `DroplessArena::grow_and_alloc`.Nicholas Nethercote-7/+1
2023-09-28Remove some unnecessary lifetimes.Nicholas Nethercote-3/+3
2023-09-28rustc_arena: tweak some comments.Nicholas Nethercote-2/+4
2023-09-25Rename `cold_path` to `outline`John Kåre Alsaker-2/+3
2023-08-23Bump cfg(bootstrap)Mark Rousskov-1/+1
2023-08-14Address commentsJohn Kåre Alsaker-7/+16
2023-08-14Allocate extra space to account for alignment lossesJohn Kåre Alsaker-4/+8
2023-08-14Optimize DroplessArena arena allocationJohn Kåre Alsaker-15/+55
2023-08-03Add `internal_features` lintNilstrieb-0/+1
2023-06-15Extend `unused_must_use` to cover block exprs许杰友 Jieyou Xu (Joe)-1/+1
2023-04-28Deny the `unsafe_op_in_unsafe_fn` lint inJohn Bobbo-11/+31
2023-04-27Use `NonNull::new_unchecked` and `NonNull::len` inJohn Bobbo-5/+5
2023-04-09Allow `clippy::from_mut_ref`Nilstrieb-0/+9
2022-12-10compiler: remove unnecessary imports and qualified pathsKaDiWa-1/+1
2022-11-22`rustc_arena`: remove a couple of `ref` patternsMaybe Waffle-10/+6
2022-08-23Make use of `[wrapping_]byte_{add,sub}`Maybe Waffle-1/+2
2022-08-21Rollup merge of #100822 - WaffleLapkin:no_offset_question_mark, r=scottmcmMatthias Krüger-1/+1
2022-08-21Replace most uses of `pointer::offset` with `add` and `sub`Maybe Waffle-1/+1
2022-08-18Add diagnostic translation lints to crates that don't emit them5225225-0/+2
2022-08-10Stabilize ptr_const_castMartin Habovstiak-1/+0
2022-07-07Rollup merge of #97711 - Nilstrieb:rustc-arena-ub, r=wesleywiserDylan DPC-12/+39
2022-07-06Fix stacked borrows violation in rustc_arenaNilstrieb-8/+19
2022-06-27Update `smallvec` to 1.8.1.Nicholas Nethercote-1/+1
2022-06-03Adapt tests to be able to run in miriNilstrieb-4/+20
2022-03-29mark FIXMES for all the places found that are probably offset_fromAria Beingessner-0/+6
2022-03-29Make some rustc code conform to strict provenance.Aria Beingessner-9/+11
2022-02-02Remove unused dep from rustc_arenaest31-1/+0
2022-01-28Clarify `ArenaAllocatable`'s second parameter.Nicholas Nethercote-5/+10
2022-01-28Add some comments.Nicholas Nethercote-7/+21
2022-01-26Rename `TypedArenaChunk` as `ArenaChunk`.Nicholas Nethercote-9/+9
2021-11-19Add some comments.Nicholas Nethercote-3/+12
2021-11-17Remove unnecessary lifetime argument from arena macros.Nicholas Nethercote-5/+5
2021-11-15Remove `DropArena`.Nicholas Nethercote-134/+7
2021-09-20Migrate to 2021Mark Rousskov-1/+1
2021-08-30Remove unused arena macro argsbjorn3-1/+1
2021-08-28Auto merge of #85690 - bstrie:m2_arena, r=jackh726,nagisabors-78/+76
2021-07-29rfc3052: Remove authors field from Cargo manifestsJade-1/+0