mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Import PanicInfo only in non(test) environment
This commit is contained in:
@@ -13,6 +13,7 @@ extern crate array_init;
|
||||
#[cfg(test)]
|
||||
extern crate std;
|
||||
|
||||
#[cfg(not(test))]
|
||||
use core::panic::PanicInfo;
|
||||
|
||||
#[macro_use]
|
||||
|
||||
Reference in New Issue
Block a user