#[unsafe(no_mangle)]pub extern "C" fn __xila_current_startup() -> *const XilaStartupExpand description
The startup block of the program that the calling coroutine runs, or null.
A linked program reads its own arguments, streams and capabilities through it, without
a process-wide static that a second program on the same executor would overwrite.
The block is valid until the entry returns or exits: do not keep the pointer.
It returns null in a thread that is not part of a running program. On a target without stack switching one program runs at a time, and the pointer is valid during its entry.
This is the contract between the firmware and a linked Rust application (xila-sys with
its linked feature). A standalone image receives its startup block as an argument, so
the C header does not declare it.
cbindgen:ignore