-
Notifications
You must be signed in to change notification settings - Fork 105
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 read Cargo.toml #136
Comments
Thank you very much for filing this bug! #134 updated the implementation to use cargo metadata instead of the cargo internals. Looks like this a bug in the cargo metadata codepath. For now, you can use |
I tried to reproduce this and was not successful. Here's what I tried:
Here is what happens when I mess up the Cargo.toml (just to see the printed path):
Hmm. I'm noticing that your error indicates that the file is expected at |
When running raze I get the error "Failed to run
cargo metadata
". Runningcargo metadata
directly works correctly and also the project compiles correctly. I am running raze against the Cargo.toml workspace for the project, theexamples/abitest/abitest_common/Cargo.toml
file referenced below is a higher up in the tree.Although it looks like the code has been around for a while it may possibly be caused by this scoped tempdir, as when
TempDir
is dropped it calls its close function.The text was updated successfully, but these errors were encountered: