pub fn generate_rust_registry(rust_dir: &Path, out: &Path) -> Result<()>Expand description
Emit the Rust auto-register module that wraps every discovered handler’s
register_host_entry(...) call inside mod __lingxia_native { pub fn install() }.
out must end in .rs.
Always writes the file (an empty install() body for handler-less crates)
so the consumer’s include! keeps compiling.