Skip to content

Translation when table is exported #98

Open

Description

@michelledaviest

Hello!

Does aWsm translate binaries whose tables are exported? I keep getting the following error when I try to compile binaries that export their libraries.

thread 'main' panicked at 'Have not implemented export kind Table', src/wasm.rs:1238:26
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Thanks!

Activity

  1. Others commented on Jul 27, 2022

    @Others
    Contributor

    I think this error is in place because we never decided on an ABI for table exports.

    Do you actually want to export your tables? Or just have us not crash when encountering tables that happen to be exported?

  2. michelledaviest commented on Jul 27, 2022

    @michelledaviest
    Author

    I wanted to export my tables. Do you have any workaround or were y'all planning to introduce this in the future?
    Thanks for the quick response! :)

  3. Others commented on Jul 27, 2022

    @Others
    Contributor

    Is the idea that you'd then link in another binary that imported that table?

  4. michelledaviest commented on Jul 27, 2022

    @michelledaviest
    Author

    Yup!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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