Xo is experimental. The source is now public on GitHub, or try Xo in your browser.
Menu · XO1516

Docs

XO1516: a wasip2/wasm program with no router (no longer reported)

error · reported by the build

Since 2026-11-02 a wasip2/wasm program that does not serve wasi:http builds as a wasi:cli/command component, whose wasi:cli/run export runs main. (Decision 0447.)

Example

fn main(os: Os) { os.stdio.println("hi") }

Fix

Nothing: build it with --targets=wasip2/wasm and run it with `wasmtime run`.

Run xo explain XO1516 for this text in a terminal, or see section 10.6 of the specification.