Skip to content

Not compiling on 1.31 nightly (alloc pb) #1

@barzilouik

Description

@barzilouik

The code doesn't compile in the main.rs after the deprecation of some std:: with Alloc.

error : alloc.Alloc(layout).unwrap() ...

Alloc seems to expect an usize value, and not the layout type ...

I'm not able to go further, can it be fixed ?
The talk you gave and the rust code is too cool for not being updated !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions