diff --git a/blog/content/second-edition/posts/05-integration-tests/index.md b/blog/content/second-edition/posts/05-integration-tests/index.md index 194db11c..1f239efe 100644 --- a/blog/content/second-edition/posts/05-integration-tests/index.md +++ b/blog/content/second-edition/posts/05-integration-tests/index.md @@ -374,6 +374,7 @@ Cargo supports hybrid projects that are both a library and a binary. We only nee #![no_std] // don't link the Rust standard library +extern crate bootloader_precompiled; extern crate spin; extern crate volatile; #[macro_use] diff --git a/src/lib.rs b/src/lib.rs index e2905e51..86ef1bc1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,5 +1,6 @@ #![no_std] // don't link the Rust standard library +extern crate bootloader_precompiled; extern crate spin; extern crate volatile; #[macro_use] diff --git a/src/main.rs b/src/main.rs index 8cfe8bbc..9b56c433 100644 --- a/src/main.rs +++ b/src/main.rs @@ -9,7 +9,6 @@ extern crate blog_os; extern crate x86_64; #[macro_use] extern crate lazy_static; -extern crate bootloader_precompiled; use core::panic::PanicInfo;