pub fn entry_fn() -> Option<CrateItem>
Return the program entry point (usually main) if defined in the local crate.
main
Returns None for library crates. For no_std crates this may resolve to a #[start] function.
None
no_std
#[start]