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:
Philipp Oppermann
2019-11-25 13:19:07 +01:00
parent 29063f4531
commit 6828849bc4

View File

@@ -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 crate::println;
use lazy_static::lazy_static; use lazy_static::lazy_static;
use x86_64::structures::idt::{InterruptDescriptorTable, InterruptStackFrame}; use x86_64::structures::idt::{InterruptDescriptorTable, InterruptStackFrame};