Skip to content

Export the indirect function table in the WASI reactor and make it growable - #1841

Merged
bnoordhuis merged 2 commits into
quickjs-ng:masterfrom
effulgentsia:master
Oct 23, 2026
Merged

bnoordhuis merged 2 commits into
quickjs-ng:masterfrom
effulgentsia:master

Conversation

@effulgentsia

Copy link
Copy Markdown
Contributor

The WASI reactor exports QuickJS functions, such as JS_SetInterruptHandler and JS_SetModuleLoaderFunc2, that receive callbacks, but the host can't pass in those callbacks without the function table being exported and growable. This PR sets those linker flags.

@bnoordhuis
bnoordhuis merged commit e680786 into quickjs-ng:master Oct 23, 2026
128 checks passed
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.

3 participants