[BUG] cargo version > 1.76 results in build errors when risc0 deps are specified as git dependencies in Cargo.toml
#1840
Labels
bug
Something isn't working
Cargo.toml
#1840
Bug Report
When using
risc0
crates as git dependencies (meaninggit =
is used in the Cargo.toml instead ofversion =
), compilingrisc0-zkvm
crate results in the following error when runningcargo build
on a risc zero project:What appears to be happening is that the risc0 rust-starter template is getting compiled. I found that removing the templates directory from the dependency makes this error message disappear.
A few solutions off the top of my head:
Steps to Reproduce
git =
for risc0 dependenciescargo update
to ensure that the deps are updated (helpful in certain situations where cargo does not pick up the newest changes pushed to a repo).Expected behavior
Error should not be displayed.
Your Environment
The text was updated successfully, but these errors were encountered: