From 85b78c0e4c8713271b232737e68601e4413ef4e0 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 31 May 2026 22:24:02 +0000 Subject: feature gate kvm tests to linux --- test/protected_mode/behavior.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/protected_mode') 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, -- cgit v1.1