Feature alloc_trait cannot compile because the interface core::alloc::Excess has been removed and core::alloc::Alloc is replaced by core::alloc::Allocator and its interfaces are changed.
I fixed it in my own repo by imitating std::alloc::System (PR), but I'm not sure if it's the best way.
@BusyJay There was a PR and I've used it well for some time in my own project. But I'm not sure how the naive implementation works in more general cases. Feel free to reopen it.
Feature
alloc_trait
cannot compile because the interfacecore::alloc::Excess
has been removed andcore::alloc::Alloc
is replaced bycore::alloc::Allocator
and its interfaces are changed.I fixed it in my own repo by imitating
std::alloc::System
(PR), but I'm not sure if it's the best way.Is there any advises for it?