diff --git a/src/lib.rs b/src/lib.rs index 052452f9..42fc2b49 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,6 +4,8 @@ #![test_runner(crate::test_runner)] #![reexport_test_harness_main = "test_main"] +extern crate rlibc; + use core::panic::PanicInfo; pub mod serial; diff --git a/src/main.rs b/src/main.rs index c35ad9e1..4cc3022b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -4,7 +4,6 @@ #![test_runner(blog_os::test_runner)] #![reexport_test_harness_main = "test_main"] -extern crate rlibc; use blog_os::println; use core::panic::PanicInfo;