Skip to content

3.1.58 breaks usage in Node.js worker #21827

Closed
@toyobayashi

Description

@toyobayashi

minimum repro:

https://github.com/toyobayashi/emscripten-node-worker-3158-repro
https://github.com/toyobayashi/emscripten-node-worker-3158-repro/actions/runs/8827891977

issue 1: Cannot find correct .wasm path when run emscripten generated JavaScript in a Node.js Worker.
issue 2: The empty *.worker.js is written in cwd, not the same directory where .js exists.
issue 3: Pthread worker will read incorrect .wasm file again even if I specified locateFile when -sSTRICT=1

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