|
d2eb165759
|
cl-arena: Add iterator allocation to TypedArena
This is copied almost verbatim from rustc-arena e82c861d7e/compiler/rustc_arena/src/lib.rs (L203)
TODO: Add unit tests, run unit tests in Miri
|
2024-05-04 22:17:34 -05:00 |
|
|
d7ce33e457
|
cl-arena: Allow the arena to hold its own lifetime.
cl-structures: Stick some arenas inside the interners, rather than taking a reference.
|
2024-04-28 02:01:52 -05:00 |
|
|
83423f37be
|
cl-arena: Make arena constructors const fn
|
2024-04-27 16:52:20 -05:00 |
|
|
a877c0d726
|
cl-arena: Add arena allocator implementation based HEAVILY on rustc-arena
It seems to pass the most basic of tests in miri (shame it needs the unstable `strict_provenance` feature to do so, but eh.)
|
2024-04-26 00:02:50 -05:00 |
|