From 1b276b7387ca2be533c836c3de739e50cb954a52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojciech=20Przytu=C5=82a?= Date: Wed, 31 Jul 2024 13:31:20 +0200 Subject: [PATCH] scylla: add scylla_cloud_tests to cfg allowlist 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. --- scylla/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/scylla/Cargo.toml b/scylla/Cargo.toml index 5568511fc..56339d040 100644 --- a/scylla/Cargo.toml +++ b/scylla/Cargo.toml @@ -96,3 +96,4 @@ harness = false [lints.rust] unreachable_pub = "warn" +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(scylla_cloud_tests)'] }