Skip to content

Export/import tables #46

@pepyakin

Description

@pepyakin

I did two experiments with wasm runtimes (1, 2) and both of them requires access to tables.

Today, in wasm32-unknown-unknown tables are defined inside the wasm but not exported. To workaround this, I have to disassemble wasm, add export for table and then assemble back before I can use the modules (script).

So I think, we need a way to communicate to linker that we need either to import or export tables from binary. I understand, this might be not feasible to do with our binaryen 'linking'.
I just want we make sure that this is not problem for upcoming proper linking with LLD.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions