compile_to_c

Function compile_to_c 

Source
pub fn compile_to_c(
    source: &str,
    filename: &str,
    options: &CompileOptions,
) -> Result<String, Vec<Diagnostic>>
Expand description

Compile source and emit C code (the bootstrap self-hosting path).

This is the equivalent of joulec --emit c but callable as a library function.