microsoft / windows-drivers-rs

Platform that enables Windows driver development in Rust. Developed by Surface.
Apache License 2.0
1.49k stars 65 forks source link

fix!: prevent linking of wdk libraries in tests that depend on `wdk-sys` #118

Closed wmmc88 closed 7 months ago

wmmc88 commented 7 months ago

BREAKING CHANGES: wdk_build::Config::configure_binary_build now returns a wdk_build::ConfigError instead of ().

This fixes execution of wdk-sys test in certain environments(ie. github windows runners) and should also allow crates that depend on wdk-sys to compile and run unit tests without linking against kernel libraries.