aboutsummaryrefslogtreecommitdiff
path: root/test/protected_mode
diff options
context:
space:
mode:
Diffstat (limited to 'test/protected_mode')
-rw-r--r--test/protected_mode/behavior.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/protected_mode/behavior.rs b/test/protected_mode/behavior.rs
index 13c4c51..2b7eeb0 100644
--- a/test/protected_mode/behavior.rs
+++ b/test/protected_mode/behavior.rs
@@ -1,5 +1,4 @@
-
-#[cfg(target_arch = "x86_64")]
+#[cfg(all(target_arch = "x86_64", target_os = "linux"))]
mod kvm {
use asmlinator::x86_64::{
IsaMode, GuestAddress,