Skip to content
  • Cheng Shao's avatar
    utils: add JSFFI utility code · f85f3fdb
    Cheng Shao authored and Marge Bot's avatar Marge Bot committed
    
    
    This commit adds JavaScript util code to utils to support the wasm
    backend's JSFFI functionality:
    
    - jsffi/post-link.mjs, a post-linker to process the linked wasm module
      and emit a small complement JavaScript ESM module to be used with it
      at runtime
    - jsffi/prelude.js, a tiny bit of prelude code as the JavaScript side
      of runtime logic
    - jsffi/test-runner.mjs, run the jsffi test cases
    
    Co-authored-by: default avataramesgen <amesgen@amesgen.de>
    f85f3fdb