Skip to content

no_mangle seems to only export functions, not the BUFFER #1

@pfedan

Description

@pfedan

Hi,
when running your example (dfe8f8a) on Windows (yes, I compiled binaryen and wabt with VS2019), I get the following message in the browser console:

Uncaught (in promise) TypeError: Cannot read property 'value' of undefined
at init ((index):14)

Printing the wasm instance shows:
2020-01-07 17_22_49-localhost_8080

It seems to me, that the #[no_mangle] directive does not export BUFFER as I would expect...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions