Function arret_compiler::gen_program[][src]

pub fn gen_program(
    options: Options<'_>,
    linked_libraries: &[Arc<LinkedLibrary>],
    program: &BuiltProgram,
    output_file: &Path,
    debug_source_loader: Option<&SourceLoader>
)

Generates code for the program with the given output type

codegen::initialise_llvm() must be called before this.