Attribute Macro main

#[main]
Expand description

A macro attribute to mark the kernel entry point.

§Example

#![no_std]

use ostd::prelude::*;

#[ostd::main]
pub fn main() {
    println!("hello world");
}