Skip to content
Snippets Groups Projects
Commit f85f3fdb authored by Cheng Shao's avatar Cheng Shao Committed by Marge Bot
Browse files

utils: add JSFFI utility code


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>
parent e9ebea66
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment