Skip to content

Support component model map<K, V> #231

Description

@celarye

A while back the component model introduced map<K, V> (WebAssembly/component-model#554). I have a WIT interface which imports this, which I think might be the cause for the following componentize-py panic:

❯ uvx componentize-py -d ../../wit/ bindings bindings

thread '<unnamed>' (131450) panicked at src/summary.rs:343:29:
not yet implemented: Map(String, Id(Id { idx: 78 }))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Traceback (most recent call last):
  File "/Users/celarye/.cache/uv/archive-v0/6eNpfc-k7Gj2SrP-/bin/componentize-py", line 12, in <module>
    sys.exit(script())
             ~~~~~~^^
pyo3_runtime.PanicException: not yet implemented: Map(String, Id(Id { idx: 78 }))

kind => todo!("{kind:?}"),

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