Explain the LLVM bug on Windows in more detail

This commit is contained in:
Philipp Oppermann
2019-01-25 14:37:46 +01:00
parent b96636984c
commit e0ed423e52

View File

@@ -1,6 +1,7 @@
// LLVM throws an error if a function with the // The x86-interrupt calling convention leads to the following LLVM error
// x86-interrupt calling convention is compiled // when compiled for a Windows target: "offset is not a multiple of 16". This
// for a Windows system. // happens for example when running `cargo test` on Windows. To avoid this
// problem we skip compilation of this module on Windows.
#![cfg(not(windows))] #![cfg(not(windows))]
use crate::println; use crate::println;