Skip to content

enum cases size is out of bounds #1019

@MatthiasGrandl

Description

@MatthiasGrandl

I generated a very large enum (it's the icon set https://lucide.dev/icons/) . So I have 1424 cases, but sadly it breaks with wit-bindgen with the following error:

Caused by:
    enum cases size is out of bounds (at offset 0xdd)

I tried using a variant instead, but same error. So is this expected or a bug? Is there a suggested alternative for my usecase of exposing a typesafe icon set to my webassembly components?

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