Skip to main content

compile_frontend_with_options_full

Function compile_frontend_with_options_full 

Source
pub fn compile_frontend_with_options_full(
    source: &str,
    preview_features: &PreviewFeatures,
    suppress_comptime_dbg_print: bool,
) -> MultiErrorResult<CompileState>
Expand description

Like compile_frontend_with_options, but additionally lets the caller suppress the on-the-fly stderr print of comptime @dbg output. When suppress_comptime_dbg_print is true, output is only collected in the SemaOutput.comptime_dbg_output buffer. Used by fuzz harnesses that consume the buffer directly and don’t want noise on stderr.