Open
Description
Add support for WASI p2.
TODOs (potentially incomplete):
- Replace
wasi_common
crate withwasmtime_wasi
- Requires rebuilding deterministic context, hopefully it should be trivial.
- Ensure deterministic context also disables udp, tcp, and other form of non-determinism.
- Expose additional methods such as
inherit_network
,allow_ip_name_lookup
,allow_udp
,allow_tcp
WasiCtxBuilder has settings where the user can inject an implementation, e.g. socket_addr_check. Ideally, we'd allow Ruby blocks to define such implementations. But unsure how we can achieve this: calling an arbitrary Ruby block is faillible, and the implementations do not allow for failure. Given this challenge, I'd suggest skipping those config knobs initially.
Metadata
Metadata
Assignees
Labels
No labels