Skip to content

Commit 52bfe27

Browse files
committed
Fix expected-cfg-checks for logging features
Rustc 1.84 (nightly) introduced that the `unexpected_cfg`s lint will now be reported for external macros (see rust-lang/rust#132577), leading to some of our builds failing due to our `level = "forbid"` config of unexpected cfg flags. Here, we add the logging features to the expected features of the workspace to mitigiate this issue and fix builds.
1 parent 0c31021 commit 52bfe27

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,5 @@ check-cfg = [
6565
"cfg(require_route_graph_test)",
6666
"cfg(splicing)",
6767
"cfg(async_payments)",
68+
'cfg(feature, values("max_level_off","max_level_error","max_level_warn","max_level_info","max_level_debug","max_level_trace"))'
6869
]

0 commit comments

Comments
 (0)