Closed wdecoster closed 1 year ago
Could it be that the libz-sys
crate was upgraded, which surfaced this error now. If so, what happens if you force it to an older version again? The goal would be to see if it's a version change that did this, or if it's something that changed locally (I assume that cargo clean
has been called to be sure there is no invalid state affecting the build outcome, somehow).
cargo clean did not seem to solve the issue. But I am confused now about how these things work. Libz-sys is not a direct dependency of my tool (but rather a dependency of some of my dependencies), but explicitly adding it to Cargo.toml with "1.1.12" did solve the problem. Does that make any sense to you?
That's a great outcome! This means that the latest version of libz-sys
seems to fix the problem. cargo update -p libz-sys
should have done the trick as well then.
Can this issue be closed?
Yes, thank you!
Hi,
I get the following error with
cargo build --release --target=x86_64-unknown-linux-musl
, but cannot figure out what is missing. Weirdly enough this used to work just a few days ago, but something broke the musl build. Is there something I can do to debug?Thanks!