Replies: 1 comment
-
Unfortunately, I think it really does still need to be all manifests. One example of a situation is when a library previously wasn't dependent on the WDK, but then the dependency was added in the manifest. Let's also assume that the WDK configuration conflicts with another crate in the workspace. Without scanning all manifests, you could run into the situation where the build works, until something triggers a rebuild of the wdk crates (ex. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We use
windows-drivers-rsin our project for building a kernel mode driver. In our project's workspace we have quite a few crates:[package.metadata.wdk]sectionWe noticed that modifying the manifest (Cargo.toml) for any crate in the workspace triggers a rebuild of wdk-sys. This is most unfortunate and increases build times.
Does it make sense to limit rebuilds to changes in WDK manifests i.e. manifest with a WDK metadata? If not, would it make sense to somehow tag a manifest as non-WDK related so it won't trigger rebuilds?
I have been using the following patch for a while now. It seems to do the job of removing unnecessary rebuilds. I would appreciate the opinion of more devs on this:
Beta Was this translation helpful? Give feedback.
All reactions