Skip to content

Commit 3eea583

Browse files
committed
fix zlib redundant crc32; add rust_backend to travis CI
1 parent 2fcbfd5 commit 3eea583

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ script:
1515
- cargo test --verbose --features tokio
1616
- cargo test --verbose --features 'tokio zlib'
1717
- cargo test --verbose --features zlib --no-default-features
18+
- cargo test --verbose --features rust_backend
19+
- cargo test --verbose --features rust_backend --no-default-features
1820
- cargo clean && cargo build
1921
- cargo doc --no-deps
2022
- cargo doc --no-deps --manifest-path=miniz-sys/Cargo.toml

src/ffi.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ mod imp {
169169
}
170170
}
171171

172+
#[cfg(not(feature = "zlib"))]
172173
mod crc_imp {
173174
use libc::{c_ulong, off_t};
174175
pub unsafe extern fn mz_crc32_combine(crc1: c_ulong,

0 commit comments

Comments
 (0)