Skip to main content

write_output

Function write_output 

Source
pub fn write_output(
    output_path: &Path,
    result: &CodegenResult,
) -> Result<(), Error>
Expand description

Write the generated code to a file

ยงArguments

  • output_path - The path to write the output file
  • result - The codegen result containing source text