diff --git a/src/interrupts.rs b/src/interrupts.rs index 8eefc8e0..ffe400fd 100644 --- a/src/interrupts.rs +++ b/src/interrupts.rs @@ -1,6 +1,7 @@ -// LLVM throws an error if a function with the -// x86-interrupt calling convention is compiled -// for a Windows system. +// 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;