Files
punktfunk/packaging/windows/drivers/pf-vdisplay/build.rs
T
enricobuehler ab27aac134 feat(windows-drivers): pf-vdisplay STEP 0 scaffold + std-under-UMDF link gate
M1 step 2 begins. Add the wdk-iddcx (lib, re-exports wdk_sys::iddcx) + pf-vdisplay
(cdylib) workspace members. pf-vdisplay STEP 0 = DriverEntry + WdfDeviceCreate
skeleton + a #[used] _std_link_gate forcing std::thread + OwnedHandle to link, so
the build proves the std surface resolves under the wdk-build UMDF link settings
(kernel32 is /NODEFAULTLIB - std must come via OneCoreUAP). If std fails to link
here, the SwapChainProcessor worker-thread design needs a CreateThread shim before
any callback work (port-plan critique gap #9).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-24 15:49:03 +00:00

7 lines
394 B
Rust

//! Emits the WDK link flags for the cdylib (wdk-build). STEP 0 needs only the WDF stub link + the
//! `/INTEGRITYCHECK` that the CI step clears; `IddCxStub` (+ `IddMinimumVersionRequired`) is added in
//! STEP 2 when the driver actually calls IddCx — see wdk-probe/build.rs for the glob recipe.
fn main() -> Result<(), wdk_build::ConfigError> {
wdk_build::configure_wdk_binary_build()
}