-
Notifications
You must be signed in to change notification settings - Fork 32
wasm error running example #7
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
Comments
Which version did you try? |
@codefromthecrypt Is it relevant to the recent update of wazero? |
it seems something to do with the memory management change in TinyGo, but haven't looked into yet |
maybe adds the test dimension with TinyGo versions since i see go-plugin is only tested with TinyGo 0.24 which is two versions behind the latest |
@mathetake Thanks for your insight. |
@knqyf263 |
I imagine this commit is the root cause tinygo-org/tinygo@03d1c44. since that commit (included in 0.26), passing size=0 to the malloc results in panic. |
cc @anuraaga |
#9 fixes! |
@goliatone Do you mind trying the latest commit? |
I verified tinygo 0.26 works via #10 also |
Thanks for the pointer, sent tinygo-org/tinygo#3303 to fix in TinyGo |
Running the host-functions example I get the following error:
The text was updated successfully, but these errors were encountered: