Implement the remaining socket-related WASI functions. (#4776)

* Implement the remaining socket-related WASI functions.

The original WASI specification included `sock_read`, `sock_write`, and
`shutdown`. Now that we have some sockets support, implement these
additional functions, to make it easier for people porting existing code
to WASI.

It's expected that this will all be subsumed by the wasi-sockets
proposal, but for now, this is a relatively small change which should
hopefully unblock people trying to use the current `accept` support.

* Update to system-interface 0.22, which has fixes for Windows.
This commit is contained in:
Dan Gohman
2022-08-26 11:39:51 -07:00
committed by GitHub
parent a68fa86aad
commit 9b3477f602
7 changed files with 67 additions and 19 deletions

View File

@@ -1011,10 +1011,6 @@ criteria = "safe-to-deploy"
version = "0.12.6"
criteria = "safe-to-deploy"
[[exemptions.system-interface]]
version = "0.21.0"
criteria = "safe-to-deploy"
[[exemptions.target-lexicon]]
version = "0.12.3"
criteria = "safe-to-deploy"