Merge branch 'post-10' into post-11

This commit is contained in:
Philipp Oppermann
2025-03-27 15:15:32 +01:00
3 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
name = "blog_os" name = "blog_os"
version = "0.1.0" version = "0.1.0"
authors = ["Philipp Oppermann <dev@phil-opp.com>"] authors = ["Philipp Oppermann <dev@phil-opp.com>"]
edition = "2018" edition = "2024"
[[test]] [[test]]
name = "should_panic" name = "should_panic"

View File

@@ -74,7 +74,7 @@ pub fn hlt_loop() -> ! {
} }
#[cfg(test)] #[cfg(test)]
use bootloader::{entry_point, BootInfo}; use bootloader::{BootInfo, entry_point};
#[cfg(test)] #[cfg(test)]
entry_point!(test_kernel_main); entry_point!(test_kernel_main);

View File

@@ -8,7 +8,7 @@ extern crate alloc;
use alloc::{boxed::Box, rc::Rc, vec, vec::Vec}; use alloc::{boxed::Box, rc::Rc, vec, vec::Vec};
use blog_os::println; use blog_os::println;
use bootloader::{entry_point, BootInfo}; use bootloader::{BootInfo, entry_point};
use core::panic::PanicInfo; use core::panic::PanicInfo;
entry_point!(kernel_main); entry_point!(kernel_main);