From 5164708e4d39863562e34d4a49eb9f76791b6687 Mon Sep 17 00:00:00 2001 From: ansemjo <11139925+ansemjo@users.noreply.github.com> Date: Tue, 5 Sep 2023 15:02:30 +0200 Subject: [PATCH] shim sock_accept 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"; + }, }; } }