XO1514: a component program built for wasip1/wasm
A wasi:http host calls a component’s handle export and never starts a module, so a preview 1 build of this program could not serve. Name the component’s target. (Decision 0447.)
Example
http.serve_component(r)Fix
Build with `xo build --targets=wasip2/wasm`.Run xo explain XO1514 for this text in a terminal, or see
section 10.6 of the specification.