Expand description
Shared Rust emission.
Takes meta-HIR as input, emits idiomatic Rust. Language-neutral by design — language-specific quirks (Python’s int promotion, C’s pointer arithmetic, Ruchy’s pipeline operator) are normalized in each frontend before reaching codegen.
Exposes both:
emit_module— free function, kept stable for callers that don’t want to go through theBackendtrait.RustBackend— aBackendimpl that wrapsemit_moduleso Rust dispatches through the same trait as PTX / WGSL / Lean.