cargo-component
cargo-component copied to clipboard
`type mismatch` when building rust with C
Hello, I'm trying to build a rust program into wasm. My rust program compiles some C code and invokes it via extern
/ffi. When I compile this program i'm getting the following error:
error: failed to validate component output
Caused by:
type mismatch: values remaining on stack at end of block (at offset 0x4ac7)
This error occurs in debug and release configurations. Any ideas/help would be appreciated.