Skip to content

feature alloc_trait can not compile with the current Rust version #38

@MrCroxx

Description

@MrCroxx

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.

Is there any advises for it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions