Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WHen compiled with Emscripten v3.1.56 the library throws an error when used with node.js, works fine in a webpage #3

Open
bartjuw opened this issue Mar 27, 2024 · 1 comment

Comments

@bartjuw
Copy link
Contributor

bartjuw commented Mar 27, 2024

Maybe newer version made some changes that broke our build:
?
v3.1.44 : The asm property of the Module object (which held the raw exports of the wasm module) has been removed. Internally, this is now accessed via the wasmExports global. If necessary, it is possible to export wasmExports on the Module object using -sEXPORTED_RUNTIME_METHODS=wasmExports. (#19816)
Embind now supports generating TypeScript definition files using the --embind-emit-tsd option.

  • May need to update some build settings for the project to work with newer compiler
@bartjuw
Copy link
Contributor Author

bartjuw commented Mar 27, 2024

Repro:

  • Build libantimonyjs with emscripten v 3.1.44
  • Now run node.js tests, result is error in libantimony itself (I forgot to record error message).
  • Run in test webpage, result: works with no error.

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

No branches or pull requests

1 participant