From 96742464dd14b6cb606daadd2d37f3a9b4a0f498 Mon Sep 17 00:00:00 2001 From: ansemjo <11139925+ansemjo@users.noreply.github.com> Date: Tue, 5 Sep 2023 15:38:38 +0200 Subject: [PATCH] shim sock_accept (#38) it just needs to exist in the imports for some binaries, even if they don't actually use it --- src/wasi.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wasi.ts b/src/wasi.ts index 2230cf2..1a2e433 100644 --- a/src/wasi.ts +++ b/src/wasi.ts @@ -664,6 +664,9 @@ export default class WASI { sock_shutdown(fd: number, how) { throw "sockets not supported"; }, + sock_accept(fd: number, flags) { + throw "sockets not supported"; + }, }; } }