-
Notifications
You must be signed in to change notification settings - Fork 284
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
Need help with accessing WASI API #2396
Comments
cc @nodejs/wasi |
You can try the wasm files here: nodejs/node@09b1228#diff-5a38107d7dabcebcb78af5059b242974. Change the related name should work. |
We compiled the following C code using WasmExplorer
index.js
We get the following error,
Thank you. |
AFAICT, WasmExplorer doesn't emit wasm that using WASI APIs. And the assertion is related to nodejs/node#31076, which has not yet been released. |
Note that you could try toolchains provided in https://github.com/CraneStation/wasi-sdk to compile a C/C++ project to wasm-wasi target, which can be used with Node.js wasi module. |
you need absolute path in |
ping , @adityaprasadv1 - were you able to follow the suggestions? or still outstanding? |
answered, closing. feel free to re-open if it is outstanding |
In the given example, can we get the source code of the wasm file.
The text was updated successfully, but these errors were encountered: