Skip to main content

cargo_check_generated

Function cargo_check_generated 

Source
pub fn cargo_check_generated(gen: &GenerationResult) -> Result<()>
Expand description

Run cargo check on the generated crate to catch translation errors early. Returns Ok(()) if the check passes, or an error with the compiler output. This is a fast-fail step: it does NOT require maturin or a Python environment.