Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix CI by assuring builds work with --all-features enabled (#404)
  • Loading branch information
Byron committed Apr 26, 2024
commit 5ce4154d2b50dfc4b82eaea772fed82c616b501f
4 changes: 2 additions & 2 deletions src/ffi/c.rs
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ mod c_backend {
#[cfg(feature = "zlib-ng")]
use libz_ng_sys as libz;

#[cfg(feature = "zlib-rs")]
#[cfg(all(not(feature = "zlib-ng"), feature = "zlib-rs"))]
use libz_rs_sys as libz;

#[cfg(all(not(feature = "zlib-ng"), feature = "cloudflare_zlib"))]
Expand Down Expand Up @@ -443,7 +443,7 @@ mod c_backend {

#[cfg(feature = "zlib-ng")]
const ZLIB_VERSION: &'static str = "2.1.0.devel\0";
#[cfg(feature = "zlib-rs")]
#[cfg(all(not(feature = "zlib-ng"), feature = "zlib-rs"))]
const ZLIB_VERSION: &'static str = "0.1.0\0";
#[cfg(not(any(feature = "zlib-ng", feature = "zlib-rs")))]
const ZLIB_VERSION: &'static str = "1.2.8\0";
Expand Down