rust-lang / wg-allocators

Home of the Allocators working group: Paving a path for a standard set of allocator traits to be used in collections!
http://bit.ly/hello-wg-allocators
205 stars 9 forks source link

Move `core::alloc::MemoryBlock` to `core::mem::Block`? #60

Closed TimDiekmann closed 4 years ago

TimDiekmann commented 4 years ago

Similar to #59, but less complicated, as MemoryBlock is gated behind allocator_api.

Amanieu commented 4 years ago

I feel that this should stay in alloc since it is pretty tied to memory allocation.

TimDiekmann commented 4 years ago

It's currently used only for allocation, yes, but this also applies to #59. This is why I'm asking :slightly_smiling_face:

TimDiekmann commented 4 years ago

Closed for the same reason as in https://github.com/rust-lang/rust/pull/71856