Skip to content
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

Cannot load gcd_wasm32 module #1

Open
kassane opened this issue Sep 8, 2024 · 0 comments
Open

Cannot load gcd_wasm32 module #1

kassane opened this issue Sep 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kassane
Copy link
Owner

kassane commented Sep 8, 2024

$ ./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
@kassane kassane added the bug Something isn't working label Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant