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'm having some problems with the llvm-box. I noticed that the llvm-box did not have any console output at runtime, and the exit code was always 1. So I modified the llvm-box wrapper like this :
It can be sure that argv is set, but the exit code is still 1 and printf("hello,word") doesn't output anything. Testing with my own wasm hello world program outputs it correctly.
I'm not an expert on wasm, am I doing something wrong? Thank you.
The text was updated successfully, but these errors were encountered:
Hmm, it seems that printf is used differently in llvm-box compared to a simple printf version of wasm. The TTY part of the JS code was not called throughout the process.
Hi, thanks for the very cool work you do!
I'm having some problems with the llvm-box. I noticed that the llvm-box did not have any console output at runtime, and the exit code was always
1
. So I modified the llvm-box wrapper like this :It can be sure that argv is set, but the exit code is still 1 and
printf("hello,word")
doesn't output anything. Testing with my own wasm hello world program outputs it correctly.I'm not an expert on wasm, am I doing something wrong? Thank you.
The text was updated successfully, but these errors were encountered: