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

type mismatch when building rust with C #321

Open
chancehudson opened this issue Jul 10, 2024 · 0 comments
Open

type mismatch when building rust with C #321

chancehudson opened this issue Jul 10, 2024 · 0 comments

Comments

@chancehudson
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant