-
Notifications
You must be signed in to change notification settings - Fork 192
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
input bytes aren't valid utf-8 #342
Comments
Thanks for the report. Would it be possible to provide the code to reproduce this? |
@c-dvl Could you try running the file /home/celine/Documents/Rline/rline/examples/memory-limitation/target/test.wasm and posting the output here? |
Hi, @abrown :the cpp main file and the json one : @sunfishcode : file target/test.wasm |
Looks like something went wrong with your building system. |
Hi,
I'm trying to build a wasm with wasi-sdk but encounter the following error on runtime step:
failed to parse /home/celine/Documents/Rline/rline/examples/memory-limitation/target/test.wasm: input bytes aren't valid utf-8
.I don't have this error with emscripten compiler. As I have memory limit with this last I would like to try to compile it with wasi-sdk but this error appears.
Compiler command line
/home/celine/Téléchargements/wasi-sdk-20.0/bin/clang++ src/main.cpp -o test.wasm
Runtime command line
wasmtime test.wasm --invoke stress < input.json
Céline
The text was updated successfully, but these errors were encountered: