Skip to content

use -s WASM=1 to support node - #3

Open
alecjacobson wants to merge 2 commits into
brunoimbrizi:masterfrom
alecjacobson:master
Open

use -s WASM=1 to support node#3
alecjacobson wants to merge 2 commits into
brunoimbrizi:masterfrom
alecjacobson:master

Conversation

@alecjacobson

Copy link
Copy Markdown

Thanks for preparing this wrapper. I'm new to wasm so I don't really understand why I needed this fix.

If I tried to use the wasm built with the previous build with node I would get a memory error:

terminated by signal SIGBUS (Misaligned address error)

I found this https://stackoverflow.com/questions/59726374/running-a-wasm-file-in-node-js

and added the -s WASM=1 flags. This fixed my issue, and hopefully doesn't disrupt anything else.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant