Skip to content

feat: quickjs-wasi support - #64

Draft
exo-nikita wants to merge 2 commits into
mainfrom
chalker/quickjs-wasi
Draft

exo-nikita wants to merge 2 commits into
mainfrom
chalker/quickjs-wasi

Conversation

@exo-nikita

Copy link
Copy Markdown
Collaborator

No description provided.

Runs bundled tests on QuickJS (quickjs-ng) compiled to WebAssembly via
quickjs-wasi, hosted on Node.js, so no native binary is needed.

bin/quickjs-wasi.js provides what barebone engines are expected to have,
mimicking `qjs --std`: print(), setTimeout/setInterval (with arguments),
clearTimeout/clearInterval, gc(), catchable stack overflows, and
unhandled rejections reported after the microtask queue is drained.

EXODUS_TEST_PLATFORM is 'quickjs' (same engine, like shermes -> hermes),
EXODUS_TEST_ENGINE is 'quickjs-wasi:bundle'.

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

1 participant