-
Notifications
You must be signed in to change notification settings - Fork 162
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
Compilation error with flate2-ffi #442
Comments
Digging further it seems that this is specifically being triggered by the |
Thanks for reporting! This is interesting, and assuming that the latest version of I also wonder if #441 would automatically fix this issue. What's puzzling me is that the change seems to be breaking, an My suggestion is to open a PR with an empty commit even to see if CI runs into this issue as well. If so, that would facilitate a fix. |
Would you be able to submit a PR with empty commit here to trigger CI and see if it reproduces? If so, from there a fix might come more easily. Thanks for your consideration. |
Added one |
Hi @Byron & @oyvindln --- thanks for following up on this! Indeed it's interesting that the CI fails in a different way. Regarding the issue I reported here. It turns out after some digging there is an issue including this with another crate. I created a minimal example that triggers the issue initially reported. Here is the required
This is sufficient to trigger :
However, it's not clear to me at all why. I'm opening an issue in the anndata repo and will mention this issue there as well. |
You are welcome! I took a look at the diff --git a/Cargo.toml b/Cargo.toml
index 6d64821..96170b7 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -35,7 +35,7 @@ rand = "0.8"
quickcheck = { version = "1.0", default-features = false }
[features]
-default = ["rust_backend"]
+default = ["rust_backend", "cloudflare_zlib"]
any_zlib = ["any_impl"] # note: this is not a real user-facing feature
any_impl = [] # note: this is not a real user-facing feature
zlib = ["any_zlib", "libz-sys"] I think what's really happening here is that This means the Lines 423 to 439 in 8d1467d
The provided test-manifest fails on MacOS too, and
This basically means the To fix this, one would have to figure out the correct logic for both the Since Ideally, |
does using the git version of flate2 with #441 instead of release change this? I thought that was supposed to fix just this |
🤦♂️The #441 PR in my memory was in Now we just have the broken roundtrip test left to fix, and unfortunately I have no idea what it could be. |
Hi,
I’m using flate2 in a project (several actually) and I recently started getting this error when compiling:
It looks like a change to the FFI that somehow isn’t being properly reflected during compilation. Any idea what may be going on?
The text was updated successfully, but these errors were encountered: