We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
GHC has recently introduced support for the WASM backend. Unfortunately, w2c2 will throw the following error when trying to generate C code:
$./w2c2 hi.wasm hi.c w2c2: failed to read module: invalid code section local declarations
I have absolutely no knowledge of wasm, but as far as I understand it's about supporting WASM or WASI standards?
The text was updated successfully, but these errors were encountered:
It's pretty likely that this because the GHC WebAssembly backend uses several extensions to the WebAssembly 1.0 spec ("post-MVP features").
Some of those are supported by w2c2 already, see https://github.com/turbolent/w2c2#features.
Several are still missing:
Sorry, something went wrong.
No branches or pull requests
GHC has recently introduced support for the WASM backend.
Unfortunately, w2c2 will throw the following error when trying to generate C code:
I have absolutely no knowledge of wasm, but as far as I understand it's about supporting WASM or WASI standards?
The text was updated successfully, but these errors were encountered: