// only used as part of `test-programs` world test-reactor { import wasi:cli/environment import wasi:io/streams import wasi:filesystem/types import wasi:filesystem/preopens import wasi:cli/exit export add-strings: func(s: list) -> u32 export get-strings: func() -> list use wasi:io/streams.{output-stream} export write-strings-to: func(o: output-stream) -> result use wasi:filesystem/types.{descriptor-stat} export pass-an-imported-record: func(d: descriptor-stat) -> string } world test-command { import wasi:poll/poll import wasi:io/streams import wasi:cli/environment import wasi:cli/stdin import wasi:cli/stdout import wasi:cli/stderr } world test-command-with-sockets { import wasi:poll/poll import wasi:io/streams import wasi:cli/environment import wasi:cli/stdin import wasi:cli/stdout import wasi:cli/stderr import wasi:sockets/tcp import wasi:sockets/tcp-create-socket import wasi:sockets/network import wasi:sockets/instance-network }