Skip to main content

Module builder

Module builder 

Source

Functionsยง

build_extension
cargo_check_generated
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.
run_benchmark
Run a Python timing harness comparing the original Python function against the generated Rust extension. Prints a speedup table to stdout.