forked from LowLevelDevs/FoundryOS
Formatting and fixing warnings
This commit is contained in:
+3
-3
@@ -4,9 +4,9 @@ members = [
|
||||
"lib/lib_framebuffer",
|
||||
"lib/lib_serial",
|
||||
"lib/lib_ascii",
|
||||
"lib/lib_application",
|
||||
"lib/lib_alloc",
|
||||
"lib/lib_async",
|
||||
"lib/lib_application",
|
||||
"lib/lib_alloc",
|
||||
"lib/lib_async",
|
||||
"lib/lib_keyboard",
|
||||
]
|
||||
resolver = "2"
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
use cc;
|
||||
use std::process::Command;
|
||||
use std::{env, path::Path};
|
||||
|
||||
fn main() {
|
||||
// Tell cargo to rerun if these files change
|
||||
println!("cargo:rerun-if-changed=src");
|
||||
|
||||
+1
-6
@@ -3,17 +3,12 @@
|
||||
|
||||
extern crate alloc;
|
||||
|
||||
use alloc::vec::Vec;
|
||||
|
||||
use foundry_os::{println, println_log};
|
||||
use lib_async::task::{Executor, Task};
|
||||
use lib_keyboard::print_keypresses;
|
||||
|
||||
#[no_mangle]
|
||||
unsafe extern "C" fn kmain() -> ! {
|
||||
// All limine requests must also be referenced in a called function, otherwise they may be
|
||||
// removed by the linker.
|
||||
|
||||
extern "C" fn kmain() -> ! {
|
||||
println_log!(" [ Initialising Kernel Systems ] ");
|
||||
if let Err(err) = foundry_os::boot() {
|
||||
panic!("{}", err);
|
||||
|
||||
Reference in New Issue
Block a user