mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Remove macro_use and use explicit imports
This commit is contained in:
@@ -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};
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user