Skip to main content

start

Function start 

Source
pub fn start<F>(entry: F) -> !
where F: FnOnce() -> Infallible,
Expand description

Initialize the Airbender runtime and then execute the entrypoint.

This helper is available only for built-in allocator backends. When allocator-custom is enabled, use start_with_allocator_init so the runtime receives an explicit allocator init hook.