Skip to main content

qspawn

Function qspawn 

Source
pub fn qspawn(lang: &str) -> Result<Box<dyn Machine>>
Expand description

Spawn a machine for lang from the registered table, preferring native, then persistent, then replay — what lang⟨M⟩ expands to in Rust (issue #273).

The registry-driven spawn_machine is the same choice made through a Language; this one needs no registry, so it is available to a Rust ground program built runtime-only (default-features = false), which is how expanded .rs.quilt files are built.