Skip to main content

main

Attribute Macro main 

Source
#[main]
Expand description

ยงExample

const THREAD_STACK_SIZE = lits::bytes!("8 MiB");

#[mkutils_macros::main(thread_stack_size = THREAD_STACK_SIZE)]
fn main() {
    ...
}