-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failed to load source for dependency wdk-build
#99
Comments
I worked around it by changing the makefile - Change Makefile.toml to
And then in |
thank you. i will try it. |
I'm guessing #36 will let you edit the file, but it still needs to be fixed, so maybe don't close the issue. |
Ok,Done |
#36 makes it so that there is not longer an extra step to get the rust-driver-makefile, since it already exists in the filesystem when u take a dependency on wdk-build. This also ensures the makefile is versioned with the build crate. The previous loadscript(assuming u copied from the example/readme) always pulled the latest makefile from main branch. Its possible that when #35 merged, it started pulling an incompatible rust-driver-toolchain.toml. you can edit the loadscript to pull in the specific one you want. What version of the crates are you using, and how have you consumed them(git vs crates.io)? What does you |
The makefile as it currently is seems to look for the crate in the wrong path. it tries to go to .cargo-make-loadscripts/crates/wdk-build Which makes sense for this repo (as there is a crates directory with wdk-build in the path of the project), but in repos that use it it doesn't exist. |
How does your repo use WDR? The |
Using the newest script in the readme fixes it |
ERROR - Error while running plugin: Source: Unknown Line: 38 - [tasks.wdk-build-init]'s script failed with exit code: 1
Caused by:
failed to load source for dependency
wdk-build
I got same error in the closed issues.however, there is not information about how to fix this error
The text was updated successfully, but these errors were encountered: