pub fn module_declares_main_fn(module: &AIRModule) -> boolExpand description
Returns true if the given AIR module declares a top-level function named
main. Used by the build pipeline to decide whether to append an
entry-point invocation to the generated output of targets without a
native main convention.