Mention test_main and blog_os::init in later posts

This commit is contained in:
Philipp Oppermann
2019-04-26 12:20:29 +02:00
parent 57a506e0fc
commit 0509307d8f
4 changed files with 30 additions and 18 deletions

View File

@@ -399,6 +399,10 @@ pub extern "C" fn _start() -> ! {
// invoke a breakpoint exception
x86_64::instructions::interrupts::int3(); // new
// as before
#[cfg(test)]
test_main();
println!("It did not crash!");
loop {}
}