Skip to content

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

@rgl

Description

@rgl

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions