We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
$ ./zig-out/bin/wamr_cli $PWD/wasmfiles/gcd_wasm32_wasi.wasm $PWD/wasmfiles/ Attempting to open file: /home/kassane/wamr-zig/tests/wasmfiles/gcd_wasm32_wasi.wasm File size: 2044875 Bytes read: 2044875 Attempting to load WASM module. Buffer size: 2044875 Buffer size: 2044875 error: Failed to load WASM module. Error: WASM module load failed: unexpected end First 16 bytes of WASM file: 00 61 73 6d 01 00 00 00 01 87 01 12 60 00 00 60 error: Failed to initialize WasmRuntime: error.ModuleLoadFailed
Note
tests/src/main.zig source is based on: https://github.com/bytecodealliance/wasm-micro-runtime/blob/main/samples/file/src/main.c
tests/src/main.zig
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Note
tests/src/main.zig
source is based on: https://github.com/bytecodealliance/wasm-micro-runtime/blob/main/samples/file/src/main.cThe text was updated successfully, but these errors were encountered: