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_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"
|
||||||
|
|||||||
@@ -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
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user