Skip to content

Commit

Permalink
shim sock_accept (#38)
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 9674246
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 9674246

Please sign in to comment.