From acf37175518ce773beb201a3eedfdacd19f78fca Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Thu, 16 Jul 2020 15:42:16 +0200 Subject: [PATCH] Move `extern crate rlibc` to lib.rs --- src/lib.rs | 2 ++ src/main.rs | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) 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;