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/long_mode/behavior.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/long_mode/behavior.rs') diff --git a/test/long_mode/behavior.rs b/test/long_mode/behavior.rs index e3d27aa..ad9a71e 100644 --- a/test/long_mode/behavior.rs +++ b/test/long_mode/behavior.rs @@ -1,4 +1,4 @@ -#[cfg(all(target_arch = "x86_64"))] +#[cfg(all(target_arch = "x86_64", target_os = "linux"))] mod kvm { use asmlinator::x86_64::{GuestAddress, Vm, VcpuExit, kvm_regs, kvm_sregs}; -- cgit v1.1