Skip to main content

Module output

Module output 

Source
Expand description

Host-side output for the print native.

Bytecode must not own stdout. Embedders inject an OutputSink; the default is NullSink so a library load is silent. CLI demos pass StdoutSink.

Structs§

NullSink
Discard output (default for embedders and tests).
StdoutSink
Space-separated Display forms plus a newline on stdout.

Traits§

OutputSink
Receives print native arguments. Must not panic or block.