Remove macro_use and use explicit imports

This commit is contained in:
Philipp Oppermann
2018-11-18 14:59:56 +01:00
parent 24e7974d04
commit 767fd53d5f
2 changed files with 1 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
// problem we skip compilation of this module on Windows.
#![cfg(not(windows))]
use crate::gdt;
use crate::{gdt, print, println};
use pic8259_simple::ChainedPics;
use spin;
use x86_64::structures::idt::{ExceptionStackFrame, InterruptDescriptorTable};

View File

@@ -1,7 +1,6 @@
#![cfg_attr(not(test), no_std)] // don't link the Rust standard library
#![feature(abi_x86_interrupt)]
#[macro_use]
pub mod vga_buffer;
pub mod gdt;
pub mod interrupts;