SeeWasm icon indicating copy to clipboard operation
SeeWasm copied to clipboard

decode error?

Open xxwlyl opened this issue 2 years ago • 1 comments

Describe the bug When I try to wasmtime the module, it reports the error 'ttributeError: 'int' object has no attribute 'from_raw''

To Reproduce compile the C code and rerun it with SeeWasm

Additional context the source code is as follows.

#include <stdio.h>

int foo(char a){ if(a > 10){ return 0; } else return 1; }

int main(int argc, char* argv[]){ return foo(argv[1][0]); }

xxwlyl avatar Feb 21 '23 04:02 xxwlyl