-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypedArena cannot handle zero-sized types. #18037
Comments
triage: just marking as libs, it's not clear when and if Arena is going to become stable. |
Updated sample
|
pczarn
added a commit
to pczarn/rust
that referenced
this issue
Jan 5, 2016
bors
added a commit
that referenced
this issue
Jan 11, 2016
Fixes #18037 "TypedArena cannot handle zero-sized types". Closes #17931 "improve chunk allocation scheme used by Arena / TypedArena". Closes #22847 "TypedArena should implement Send". - N.B. Arena cannot implement Send, since it may contain non-Send values. Closes #18471 "`Arena::alloc_copy_inner` (at least) should be renamed and made public." - Added `Arena::alloc_bytes`. Closes #18261 "support clearing TypedArena with the chunks preserved". - Only the largest chunk is preserved.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seems like it just needs to be special-cased like Vec.
The text was updated successfully, but these errors were encountered: