-
Notifications
You must be signed in to change notification settings - Fork 53
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
Any example how to load .wasm
in python
#216
Comments
Hello, e.g. hello.py has an example on how to use |
@womeier thanks! I checked those examples and they load wat files. Does the api support .wasm too? I will try that! Thanks! |
Yes |
@alexcrichton yeah sure I will add a PR to mention it in the documentations! |
@alexcrichton I have another question. So I am trying the following code
and in this example an function called |
Yes that should be possible through |
Thanks @alexcrichton , |
Ah yes If you're confused by this I might recommend using |
Thanks @alexcrichton ! I thought it is the imports are easy to define but it seems emscripten generates them for |
Hi,
I am working on a wasm package and I am using emscripten to compile a code to
.wasm
I was wondering if there is an clear example how to load a.wasm
using wasmtime-py?The text was updated successfully, but these errors were encountered: