Skip to content

Commit

Permalink
suppress doc_cfg warning
Browse files Browse the repository at this point in the history
  • Loading branch information
molpopgen committed Jul 27, 2024
1 parent d585e3c commit 07b154b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ repository = "https://github.com/tskit-dev/tskit-rust"
rust-version = "1.71.0"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lints.rust]
# Added for rust 1.80.0
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] }

[profile.release]
lto = "fat"
Expand Down

0 comments on commit 07b154b

Please sign in to comment.