Skip to content

Commit

Permalink
shim sock_accept
Browse files Browse the repository at this point in the history
it just needs to exist in the imports for some binaries, even if they don't actually use it
  • Loading branch information
ansemjo authored Sep 5, 2023
1 parent db998fe commit 5164708
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/wasi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
},
};
}
}

0 comments on commit 5164708

Please sign in to comment.