Skip to content

[docs] Clarify when Wasm function signatures are required - #28493

Open
juj wants to merge 1 commit into
emscripten-core:mainfrom
juj:docs_wasm_sig_wording
Open

juj wants to merge 1 commit into
emscripten-core:mainfrom
juj:docs_wasm_sig_wording

Conversation

@juj

@juj juj commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

The Function Signatures section said "The LLVM Wasm backend requires a Wasm function signature string when using addFunction and in JavaScript libraries". The LLVM backend qualifier is a leftover from fastcomp days, and __sig is in fact optional for most JS library functions. Describe when a signature is actually needed (addFunction with a JS function, __i53abi, wasm64, >2GB memory, dynamic linking).

The Function Signatures section said "The LLVM Wasm backend requires a
Wasm function signature string when using addFunction and in JavaScript
libraries". The LLVM backend qualifier is a leftover from fastcomp days,
and __sig is in fact optional for most JS library functions. Describe when
a signature is actually needed (addFunction with a JS function, __i53abi,
wasm64, >2GB memory, dynamic linking).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

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