Skip to content

Commit

Permalink
Fix expected-cfg-checks for logging features
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tnull committed Nov 26, 2024
1 parent 0c31021 commit 52bfe27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,5 @@ check-cfg = [
"cfg(require_route_graph_test)",
"cfg(splicing)",
"cfg(async_payments)",
'cfg(feature, values("max_level_off","max_level_error","max_level_warn","max_level_info","max_level_debug","max_level_trace"))'
]

0 comments on commit 52bfe27

Please sign in to comment.