Update main.rs

This commit is contained in:
FantasyPvP
2023-11-30 19:54:03 +00:00
committed by GitHub
parent fe52f8ce17
commit 568711e27d
+1
View File
@@ -30,6 +30,7 @@ entry_point!(main);
fn main(boot_info: &'static BootInfo) -> ! { fn main(boot_info: &'static BootInfo) -> ! {
CrystalOS::start(boot_info); CrystalOS::start(boot_info);
// runs the 'mainloop' of the OS;
let mut executor = Executor::new(); let mut executor = Executor::new();
executor.spawn(Task::new(shell::command_handler())); executor.spawn(Task::new(shell::command_handler()));
loop { loop {