Skip to content

__proc_exit

Terminates the WebAssembly module execution with the given exit status.

Signature

(import "wali" "__proc_exit" (func (param $status i32) (result i64)))
void __proc_exit(int status);

Return Value

Returns void.

Notes

  • This is a no-return function
  • The runtime will clean up resources after this call