Skip to content

wit-dylib: Generate helper functions during lifting/lowering #2308

@alexcrichton

Description

@alexcrichton

Right now each adapter generates one monolithic wasm function per world import and world export. This means that if a list<T> is used many times, it'll have duplicated lowering/lifting code in many places. Should consider splitting out helpers to, for example, read T from linear memory (or write it) and delegate to those helpers instead. Some discussion here about this too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    wit-dylibIssues for the `wit-dylib` crate and subcommand

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions