rustc_codegen_ssa::base

Function maybe_create_entry_wrapper

source
pub fn maybe_create_entry_wrapper<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>(
    cx: &'a Bx::CodegenCx,
) -> Option<Bx::Function>
Expand description

Creates the main function which will initialize the rust runtime and call users main function.