Skip to content

wasmExports not declared #20145

Closed
Closed
@walkingeyerobot

Description

@walkingeyerobot

I'm getting an error about wasmExports not being declared. I believe this is due to #19901 combined with the odd set of linker options I have:

-s MODULARIZE=1
-s EXPORT_NAME=loadWasm
-s ENVIRONMENT=web,node
-s MINIMAL_RUNTIME=2
-s MINIMAL_RUNTIME_STREAMING_WASM_COMPILATION=1
-s FILESYSTEM=0
-s TEXTDECODER=2
-s POLYFILL=0

Oddly, this didn't happen before #19901 because I was running through the js compiler (I'm doing this myself manually and not via emscripten) and asm the compiler decided to declare and rename asm for me, but for some reason it won't do the same for wasmExports.

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