mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-17 06:47:49 +00:00
Update testing posts
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#![no_std] // don't link the Rust standard library
|
||||
#![cfg_attr(not(test), no_main)] // disable all Rust-level entry points
|
||||
#![cfg_attr(test, allow(dead_code, unused_macros, unused_imports))]
|
||||
#![cfg_attr(test, allow(unused_imports))]
|
||||
|
||||
use core::panic::PanicInfo;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user