-
Notifications
You must be signed in to change notification settings - Fork 824
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
Hello world samples are not working #818
Comments
Thanks for the issue! This is actually a null-pointer deref issue. We don't deref null pointers from Wasm, using any memory address but I'll look into what the standard says, but checking |
It seems that null deref is fine in general, but not for Emscripten. I'll move the null-checks from |
820: Remove null pointer checks generally, re-add them in Emscripten r=MarkMcCaskey a=MarkMcCaskey Resolves #818 - [x] Add a short description of the the change to the CHANGELOG.md file Co-authored-by: Mark McCaskey <[email protected]>
This now works on master, let me know if you have any other issues! |
Describe the bug
fd_write for stdout does not appear to be working. I tried running the example here (https://wapm.io/package/chai2010/wasi-hello) using wapm and did not see any output. Then I ran the example here https://github.com/CraneStation/wasmtime/blob/master/docs/WASI-tutorial.md#web-assembly-text-example using wasmer and also did not see any output.
Steps to reproduce
Expected behavior
see hello world printed to console
Actual behavior
nothing is printed
The text was updated successfully, but these errors were encountered: