1use vm_detect::{vm_detect, Detection}; 2 3fn main() { 4 // Run detection 5 let detection = vm_detect(); 6 7 // Inspect detections 8 if detection.contains(Detection::HYPERVISOR_BIT) { 9 println!("Hypervisor bit set!"); 10 } 11}