From 090a9d9191771f98ceceefefe02a3398e2ac5830 Mon Sep 17 00:00:00 2001 From: memN0ps <89628341+memN0ps@users.noreply.github.com> Date: Sat, 13 Jan 2024 11:05:48 +1300 Subject: [PATCH] The hypervisor loads on Windows 10 now instead of just 11. Thanks Matthias again :) https://github.com/microsoft/windows-drivers-rs/issues/42 --- driver/build.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/driver/build.rs b/driver/build.rs index cd5eaa0..5933d9d 100644 --- a/driver/build.rs +++ b/driver/build.rs @@ -1,4 +1,6 @@ fn main() -> Result<(), wdk_build::ConfigError> { - wdk_build::Config::from_env_auto()?.configure_binary_build(); + let mut config = wdk_build::Config::from_env_auto()?; + config.driver_config = wdk_build::DriverConfig::WDM(); + config.configure_binary_build(); Ok(()) -} +} \ No newline at end of file