Closed jsturtevant closed 2 months ago
There are three different types of component adapters, currently we only handle reactor and command and need to support proxy:
https://github.com/bytecodealliance/wit-bindgen/tree/main?tab=readme-ov-file#creating-components-wasi
wasi_snapshot_preview1.command.wasm - use this for CLI applications. wasi_snapshot_preview1.reactor.wasm - use this for applications that don't have a main function for example: for example a process that responds to an event. wasi_snapshot_preview1.proxy.wasm - use this for applications fed into wasmtime serve for example.
This will no longer be an issue after https://github.com/dotnet/runtimelab/pull/2614 merges. wasm-component-ld (which ships as part of WASI-SDK) will manage this
closing in favor of #26
There are three different types of component adapters, currently we only handle reactor and command and need to support proxy:
https://github.com/bytecodealliance/wit-bindgen/tree/main?tab=readme-ov-file#creating-components-wasi