Formatting and fixing warnings

This commit is contained in:
2025-02-23 01:38:21 +00:00
parent 27b0ed634c
commit e722874cee
3 changed files with 4 additions and 13 deletions
+3 -3
View File
@@ -4,9 +4,9 @@ members = [
"lib/lib_framebuffer", "lib/lib_framebuffer",
"lib/lib_serial", "lib/lib_serial",
"lib/lib_ascii", "lib/lib_ascii",
"lib/lib_application", "lib/lib_application",
"lib/lib_alloc", "lib/lib_alloc",
"lib/lib_async", "lib/lib_async",
"lib/lib_keyboard", "lib/lib_keyboard",
] ]
resolver = "2" resolver = "2"
-4
View File
@@ -1,7 +1,3 @@
use cc;
use std::process::Command;
use std::{env, path::Path};
fn main() { fn main() {
// Tell cargo to rerun if these files change // Tell cargo to rerun if these files change
println!("cargo:rerun-if-changed=src"); println!("cargo:rerun-if-changed=src");
+1 -6
View File
@@ -3,17 +3,12 @@
extern crate alloc; extern crate alloc;
use alloc::vec::Vec;
use foundry_os::{println, println_log}; use foundry_os::{println, println_log};
use lib_async::task::{Executor, Task}; use lib_async::task::{Executor, Task};
use lib_keyboard::print_keypresses; use lib_keyboard::print_keypresses;
#[no_mangle] #[no_mangle]
unsafe extern "C" fn kmain() -> ! { extern "C" fn kmain() -> ! {
// All limine requests must also be referenced in a called function, otherwise they may be
// removed by the linker.
println_log!(" [ Initialising Kernel Systems ] "); println_log!(" [ Initialising Kernel Systems ] ");
if let Err(err) = foundry_os::boot() { if let Err(err) = foundry_os::boot() {
panic!("{}", err); panic!("{}", err);