Skip to main content

Module registry

Module registry 

Source
Expand description

Map from fence info-string ("lisp", "python", …) to runtime.

Built-in runtimes are registered via RuntimeRegistry::default. Hosts can layer more at startup with RuntimeRegistry::register, or discover drop-in .wasm modules with RuntimeRegistry::discover_wasm_dir (M2 — see TODO inside).

Structs§

RuntimeRegistry
Owned set of runtimes, keyed by the lowercased fence info-string.