The section of the README describing how to create a new windows-driver-rs project has a minor bug in step 6.
It provides the following code for the build.rs file.
The issue here is the last ? after configure_binary_build. This function returns () and therefore does not implement Try which results in an error. Simply removing the last ? resolves the issue.
This is not an error. the README is for top of tree, which made a breaking change to that function. There are changes on main that are not yet released to crates.io.
The section of the README describing how to create a new
windows-driver-rs
project has a minor bug in step 6. It provides the following code for thebuild.rs
file.The issue here is the last
?
afterconfigure_binary_build
. This function returns()
and therefore does not implementTry
which results in an error. Simply removing the last?
resolves the issue.