-
Notifications
You must be signed in to change notification settings - Fork 3
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
Checksum change on second build #11
Comments
I primarily develop on OSX so it's definitely not OS-neglect. =) Verified this happens for me as well with a new project. Tried a few different combinations and all have the same problem: runng = "0.1"
runng-sys = "1.1.1"
runng-sys = "1.1.1+4" In my own projects I tend to use the source rather than pulling the crate (i.e. Not sure if this is caused by:
I'll look into this, in the mean time you could |
I develop on ubuntu, and ran into the same issue. As an FYI, the nng does not have this issue. Once this issue is resolved, I will give it another try. |
It seems to be caused by cargo's partial support for semver meta-data. I'll leave "1.1.1" un-yanked so things build correctly from the crate. The only real difference between "1.1.1" and "1.1.1+4" is changes to get docs.rs working; they're both using nng 1.1.1. With crates being permanent there doesn't seem to be a nice way to mirror the nng version and make trivial changes to crates... |
I'm still getting this error: $ cargo build
Downloaded runng-sys v1.1.1
error: failed to verify the checksum of `runng-sys v1.1.1` Also, I ran $ rm -rf target Cargo.lock before |
sigh it did work with a new project... I needed to clear out the various I'll probably need to open another issue with cargo/crates.io since rust-lang/crates.io#1059 is already over a year old... |
So this also happens with a test package I made (an empty library project). |
Consensus is in, In cargo.toml: runng-sys = "1.1.1-rc"
# OR
runng = "0.1.8" I'd really like to keep the version of this aligned with NNG, so here's what seems to work:
|
Thanks! It seems to be working |
Thanks for reporting it. Turns out cargo isn't quite as straight-forward as I thought. =) |
I'm evaluating
runng
for a small project. I'm on macOS. When I do a fresh compilation of my project, everything is fine. Now, when I'm trying to compile a second time, I get this error:And it doesn't compile
The text was updated successfully, but these errors were encountered: