mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
The bootloader_precompiled crate should be in lib.rs
This commit is contained in:
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user