We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a25bc0 commit 5ce4154Copy full SHA for 5ce4154
src/ffi/c.rs
@@ -403,7 +403,7 @@ mod c_backend {
403
#[cfg(feature = "zlib-ng")]
404
use libz_ng_sys as libz;
405
406
- #[cfg(feature = "zlib-rs")]
+ #[cfg(all(not(feature = "zlib-ng"), feature = "zlib-rs"))]
407
use libz_rs_sys as libz;
408
409
#[cfg(all(not(feature = "zlib-ng"), feature = "cloudflare_zlib"))]
@@ -443,7 +443,7 @@ mod c_backend {
443
444
445
const ZLIB_VERSION: &'static str = "2.1.0.devel\0";
446
447
const ZLIB_VERSION: &'static str = "0.1.0\0";
448
#[cfg(not(any(feature = "zlib-ng", feature = "zlib-rs")))]
449
const ZLIB_VERSION: &'static str = "1.2.8\0";
0 commit comments