-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Emscripten compiler/ABI version in the Wasm binary #9951
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
deleting as @sbc100 's comment is better :) |
There is a specification for the producers section: However emscripten doesn't not include this by default. For the rational you can see the discussion here: WebAssembly/tool-conventions#93. If your goal is to load wasm modules that are built by emscripten outside of emscripten then there are also other options available to you:
Of these two options I would always prefer |
Great -- thanks for the quick and detailed replies! |
Hello! Does Emscripten store the version used to compile it anywhere in the Wasm itself? Perhaps this is using Emscripten incorrectly, but it'd be nice to be able to find out which version of Emscripten a Wasm binary is from so that tools can more intelligently interact with it.
I looked through the documentation and tried compiling a module but wasn't able to find that information anywhere.
If this isn't something that currently exists is it something you'd consider adding?
The text was updated successfully, but these errors were encountered: