mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 06:17:49 +00:00
Remove cfg(not(windows)) from interrupt module
This is no longer required and was already removed from the post in commit 992b958414.
This commit is contained in:
@@ -1,9 +1,3 @@
|
||||
// The x86-interrupt calling convention leads to the following LLVM error
|
||||
// when compiled for a Windows target: "offset is not a multiple of 16". This
|
||||
// happens for example when running `cargo test` on Windows. To avoid this
|
||||
// problem we skip compilation of this module on Windows.
|
||||
#![cfg(not(windows))]
|
||||
|
||||
use crate::println;
|
||||
use lazy_static::lazy_static;
|
||||
use x86_64::structures::idt::{InterruptDescriptorTable, InterruptStackFrame};
|
||||
|
||||
Reference in New Issue
Block a user