Skip to content

Commit

Permalink
Silence linter warning on cfg(kani)
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi Delmas committed May 23, 2024
1 parent 853df1e commit e62daa9
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/script-based-pre/build-rs-conditional/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ edition = "2021"

[dependencies]

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] }
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
name = "sample_crate"
version = "0.1.0"
edition = "2021"

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] }
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
name = "sample_crate"
version = "0.1.0"
edition = "2021"

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] }
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ doctest = false
name = "bar"
doctest = false

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] }
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ concrete-playback = "inplace"

[package.metadata.kani.unstable]
concrete-playback = true

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

0 comments on commit e62daa9

Please sign in to comment.