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
I use emcc to compile a wasm file.
the wasm file import many external functions, such as "env"."memset", env.memcpy and so on. How can I correctly import those functions. whether there are some base file or lib that I can directly import them?
I have read examples, no otherelse complex examples.
thanks for your reading. I hope get your help. thanks.
The text was updated successfully, but these errors were encountered:
Thanks for the report! You may not get a ton of success using emcc output running in Wasmtime though since that's primarily intended to run on the web AFAIK. You can, however, define imported functions using a Linker to instantiate modules. There's nothing built-in, however, to instantiate modules with, so you'd have to provide a custom implementation of all of these intrinsics.
I use emcc to compile a wasm file.
the wasm file import many external functions, such as "env"."memset", env.memcpy and so on. How can I correctly import those functions. whether there are some base file or lib that I can directly import them?
I have read examples, no otherelse complex examples.
thanks for your reading. I hope get your help. thanks.
The text was updated successfully, but these errors were encountered: