js-wasmc icon indicating copy to clipboard operation
js-wasmc copied to clipboard

Add ability to pass -image parameter, fixes for new AST

Open mbullington opened this issue 3 years ago • 2 comments

Hello! I'm using js-wasmc and it's great, however I wanted to be able to use it with the latest EMSDK version. Few tweaks to allow that without changing js-wasmc functionality:

  • Allow for specifying an -image parameter in the build step.
    • I used this to point to mbullington/emsdk, which is a downstream version of emscripten/emsdk I just added Ninja to and removed Java.
  • Fixes in the package step for the new Module[...] syntax for mangled names.
  • Fix Node.js trying to load .wasm file on new version of EMSDK.

Thanks!

mbullington avatar Mar 12 '21 08:03 mbullington

I think -docker-image sounds good. Will work on that shortly.

mbullington avatar Mar 20 '21 01:03 mbullington

Hi @rsms, pretty sure my latest commits meet your requested changes. I'm using this over at https://github.com/mbullington/astro-wasm and the changes work well.

Best

mbullington avatar May 04 '21 22:05 mbullington