I tried compiling one of the zlib-rs examples which also compiles zlib-ng for wasm32-wasip1. It compiled, but when I then try to run it in Wasmtime, I get "Invalid input WebAssembly code at offset 109435: type mismatch: values remaining on stack at end of block". What would be an appropriate place to report this bug?
maybe start with wasi-sdk and then subsequent investigation can find the right home
do other engines (say browsers) also report the wasm as invalid?
Node 20.17 reports "CompileError: WebAssembly.compile(): Compiling function #191:"adler32_stub" failed: expected 1 elements on the stack for fallthru, found 3 @+104593"
https://github.com/WebAssembly/wasi-sdk/issues/492
Last updated: Dec 23 2024 at 13:07 UTC