Module generation

Module generation 

Source
Expand description

FTL generation functionality.

This module handles generating FTL files using a monolithic runner crate that links all workspace crates via Rust’s inventory mechanism.

Modules§

cache
Caching utilities for CLI performance optimization.

Functions§

generate_for_crate_monolithic
Generates FTL files for a crate using the monolithic temp crate approach. This is faster on subsequent runs because it reuses a single pre-built binary.
prepare_monolithic_runner_crate
Prepare the monolithic runner crate at workspace root that links ALL workspace crates. This enables fast subsequent runs by caching a single binary that can access all inventory.
run_cargo
Run cargo run on the runner crate.
run_cargo_with_output
Run cargo run on the runner crate and capture output.
run_monolithic
Run the monolithic binary directly (fast path) or build+run (slow path).