Skip to content

Commit

Permalink
scylla: add scylla_cloud_tests to cfg allowlist
Browse files Browse the repository at this point in the history
With rust 1.80, cfg parameters are checked by the compiler, so that
warnings are emitted when unexpected cfg parameter is encountered.
As we are using `cfg(scylla_cloud_tests)` to conditionally compile tests
applicable for Scylla Serverless Cloud, that parameter is listed in
Cargo.toml to prevent warnings.
  • Loading branch information
wprzytula committed Jul 31, 2024
1 parent 34352da commit 1b276b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scylla/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,4 @@ harness = false

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

0 comments on commit 1b276b7

Please sign in to comment.