pub fn generate(ctx: &CodegenContext, out_dir: &Path)
Generate all Rust code into the output directory.