mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Workaround an LLVM bug
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
// LLVM throws an error if a function with the
|
||||||
|
// x86-interrupt calling convention is compiled
|
||||||
|
// for a Windows system.
|
||||||
|
#![cfg(not(windows))]
|
||||||
|
|
||||||
use crate::println;
|
use crate::println;
|
||||||
use lazy_static::lazy_static;
|
use lazy_static::lazy_static;
|
||||||
use x86_64::structures::idt::{ExceptionStackFrame, InterruptDescriptorTable};
|
use x86_64::structures::idt::{ExceptionStackFrame, InterruptDescriptorTable};
|
||||||
|
|||||||
Reference in New Issue
Block a user