Crate runs_inside_qemu[−][src]
Expand description
Small no_std
-lib that checks if the binary is running inside a QEMU virtual machine.
Only works on x86/x86_64 platform. There are no heap allocation required.
Under the hood, this is a wrapper around the awesome crate https://crates.io/crates/raw-cpuid.
Functions
Returns if the code is running inside a QEMU virtual machine. Only works on x86/x86_64 platform.