Import lazy_static through normal use

This commit is contained in:
Philipp Oppermann
2018-11-13 11:36:40 +01:00
parent 21f3152dc0
commit e7d4012653
9 changed files with 11 additions and 4 deletions

View File

@@ -85,6 +85,7 @@ mod serial;
use uart_16550::SerialPort;
use spin::Mutex;
use lazy_static::lazy_static;
lazy_static! {
pub static ref SERIAL1: Mutex<SerialPort> = {
@@ -375,7 +376,6 @@ Cargo supports hybrid projects that are both a library and a binary. We only nee
extern crate bootloader;
extern crate spin;
extern crate volatile;
#[macro_use]
extern crate lazy_static;
extern crate uart_16550;
extern crate x86_64;