diff --git a/src/interrupts.rs b/src/interrupts.rs index eec59ab6..d9394d5c 100644 --- a/src/interrupts.rs +++ b/src/interrupts.rs @@ -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}; diff --git a/src/lib.rs b/src/lib.rs index e806c7c8..d2a1d0ce 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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;