Skip to content

Commit

Permalink
Merge pull request #208 from NobodyXu/patch-2
Browse files Browse the repository at this point in the history
Fix unknown-cfg warning in libz-ng
  • Loading branch information
Byron authored Aug 24, 2024
2 parents 788f050 + 58a38a4 commit e959fd0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo-zng.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ libc = "0.2.43"

[build-dependencies]
cmake = "0.1"

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(zng)'] }
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,6 @@ stock-zlib = []
asm = []
# Enable this feature if you want to have a statically linked libz
static = []

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(zng)'] }

0 comments on commit e959fd0

Please sign in to comment.