rust-fuzz / honggfuzz-rs

Fuzz your Rust code with Google-developed Honggfuzz !
https://crates.io/crates/honggfuzz
Apache License 2.0
448 stars 40 forks source link

upgrade from 0.5.52 to 0.5.53 breaks #48

Closed drahnr closed 3 years ago

drahnr commented 3 years ago
error: failed to run custom build command for `honggfuzz v0.5.53`

Caused by:
  process didn't exit successfully: `/media/supersonic1t/projects/parity/rsc-perf/fuzzit/hfuzz_target/release/build/honggfuzz-e79e9d36b487ef79/build-script-build` (exit code: 1)
  --- stderr
  honggfuzz dependency (0.5.53) and build command (0.5.52) versions do not match

happens since the update in Cargo.toml.

drahnr commented 3 years ago

The git version with the same content works though

drahnr commented 3 years ago

The error message from build.rs should just be better I guess:

eprintln!("honggfuzz dependency ({}) and build command ({}) versions do not match",
                  VERSION, honggfuzz_build_version);

is not clear in what should be done to resolve the issue.

I'll create a PR to improve the msg soon.

PaulGrandperrin commented 3 years ago

I guess you just need to cargo install honggfuzz again, so that your local binary matches the library dependency. I agree, the message could be better. Just adding a something like please adjust your Cargo.toml to "honggfuzz = \"{0}\"" or run "cargo install honggfuzz --version \"{1}\"" would be nice