mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-23 01:13:23 +00:00
17 lines
323 B
Rust
17 lines
323 B
Rust
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
#![no_std]
|
|
#![no_main]
|
|
#![deny(unsafe_code)]
|
|
extern crate ostd;
|
|
|
|
use ostd::prelude::*;
|
|
|
|
#[ostd::main]
|
|
pub fn main() {
|
|
println!("[kernel] finish init ostd");
|
|
component::init_all(component::parse_metadata!()).unwrap();
|
|
aster_nix::init();
|
|
aster_nix::run_first_process();
|
|
}
|