Skip to content

no way to obtain WASI exit code #1738

@yamt

Description

@yamt

a straightforward implementation would introduce:

  • wasm_runtime_set_wasi_exit_code
  • wasm_runtime_get_wasi_exit_code

and use the former in libc-wasi/uwasi and use the latter in iwasm and other embedders.

if it sounds ok, i can submit an implementation.

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