stable_mir

Function entry_fn

Source
pub fn entry_fn() -> Option<CrateItem>
Expand description

Return the function where execution starts if the current crate defines that. This is usually main, but could be start if the crate is a no-std crate.