Skip to main content

_start

Function _start 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn _start() -> !
Expand description

Entry point: captures the initial RSP (= SysV stack pointer) and calls start_impl. Using a naked function guarantees that no prologue has modified RSP before we pass it as rdi.