Skip to content

Commit

Permalink
update an example
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Jul 10, 2023
1 parent 4afd257 commit 8625a4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/runwasi/runwasi.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ runwasi(const char *filename, unsigned int ndirs, char **dirs,
*/
struct exec_context ectx;
exec_context_init(&ectx, inst);
ret = instance_execute_func(&ectx, funcidx, pt, rt, NULL, NULL);
ret = instance_execute_func(&ectx, funcidx, pt, rt);
ret = instance_execute_handle_restart(&ectx, ret);
uint32_t wasi_exit_code = 0;
if (ret == ETOYWASMTRAP) {
Expand Down

0 comments on commit 8625a4a

Please sign in to comment.