fn exit_with_wasi_exit_code(result: Result<(), Error>) -> !
Exit the current process, using the WASI exit code if the error contains one.