Skip to main content

compile_stack_spec

Function compile_stack_spec 

Source
pub fn compile_stack_spec(
    stack_spec: SerializableStackSpec,
    config: Option<RustStackConfig>,
) -> Result<RustOutput, String>
Expand description

Compile a full SerializableStackSpec (multi-entity) into unified Rust output.

Generates types.rs with ALL entity structs, entity.rs with a single Stack impl and per-entity EntityViews, and mod.rs/lib.rs re-exporting everything.