wasm-micro-runtime icon indicating copy to clipboard operation
wasm-micro-runtime copied to clipboard

bug with WASM_I64 type

Open edmundwz opened this issue 2 years ago • 1 comments

if (!(ret = wasm_runtime_call_wasm(exec_env, function, num_args, argv))) goto fail2;

(wasm_runtime_common.c: line at 1632)

Please check the code above. I just replace the 'num_args' with 'argc' and it works fine with 'WASM_I64' type as passing argument.

edmundwz avatar Feb 12 '22 06:02 edmundwz

@edmundwz Thanks for reporting the issue! It is really a bug, we have submitted patch #1005 to fix it and updated sample basic to test wasm_runtime_call_wasm_a.

wenyongh avatar Feb 14 '22 02:02 wenyongh