Skip to content

[postcard-derive]: MaxSize codegen is too simple #286

@jamesmunns

Description

@jamesmunns

HaoboGu/rmk#691 is an issue that shows that when deriving MaxSize on an enum, if the enum has lots of variants, we generate a LOT of code and rustc runs out of stack.

We should improve this, even if the RMK issue is fixed by avoiding the derive.

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