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

Why .\wasmedge.exe --reactor .\add.wasm add -10 1 results in 4294967287? #43

Open
rgl opened this issue Oct 28, 2022 · 0 comments
Open

Comments

@rgl
Copy link

rgl commented Oct 28, 2022

While trying https://wasmedge.org/book/en/quick_start/run_cli.html#call-a-webassembly-function-compiled-from-rust on Windows 10 as:

.\wasmedge.exe --reactor .\add.wasm add -10 1

It returned an unexpected value of:

4294967287

Is this expected? From what I understood, the rust add example uses a rust i32 (signed integer), so this result is unexpected to me.

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