You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Activity
gireeshpunathil commentedon Jan 7, 2020
cc @nodejs/wasi
gengjiawen commentedon Jan 7, 2020
You can try the wasm files here: nodejs/node@09b1228#diff-5a38107d7dabcebcb78af5059b242974.
Change the related name should work.
adityaprasadv1 commentedon Jan 7, 2020
We compiled the following C code using WasmExplorer
index.js
We get the following error,
Thank you.
legendecas commentedon Jan 7, 2020
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.
legendecas commentedon Jan 7, 2020
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.
gengjiawen commentedon Jan 7, 2020
you need absolute path in
preopensPoojaDurgad commentedon Sep 29, 2020
ping , @adityaprasadv1 - were you able to follow the suggestions? or still outstanding?
gireeshpunathil commentedon Nov 7, 2020
answered, closing. feel free to re-open if it is outstanding