1
0
Fork 0
forked from AbleOS/ableos
ableos_time/kernel/src/lib.rs
2022-12-07 01:43:26 +01:00

27 lines
394 B
Rust

//! The ableOS kernel.
#![feature(alloc_error_handler, prelude_import)]
#![no_std]
extern crate alloc;
pub mod allocator;
pub mod arch;
pub mod debug;
pub mod kmain;
pub mod task;
use versioning::Version;
/// Kernel's version
pub const VERSION: Version = Version {
major: 0,
minor: 2,
patch: 0,
};
#[panic_handler]
fn panic(info: &core::panic::PanicInfo) -> ! {
loop {}
}