Function compile_ingot

Source
pub fn compile_ingot(
    db: &mut Db,
    build_files: &BuildFiles,
    with_bytecode: bool,
    with_runtime_bytecode: bool,
    optimize: bool,
) -> Result<CompiledModule, CompileError>
Expand description

Compiles the main module of a project.

If with_bytecode is set to false, the compiler will skip the final Yul -> Bytecode pass. This is useful when debugging invalid Yul code.