Skip to content

Commit

Permalink
fix CI by assuring builds work with --all-features enabled (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Apr 26, 2024
1 parent 9a25bc0 commit 5ce4154
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 5ce4154

Please sign in to comment.