Skip to content
  • Cheng Shao's avatar
    d7d1d6d2
    utils: add JSFFI utility code · d7d1d6d2
    Cheng Shao authored
    
    
    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>
    d7d1d6d2
    utils: add JSFFI utility code
    Cheng Shao authored
    
    
    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>
Loading