File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 61
61
run : ./ci/h2spec.sh
62
62
if : matrix.rust == 'stable'
63
63
64
+ unexpected-cfgs :
65
+ runs-on : ubuntu-latest
66
+ needs : [style]
67
+ steps :
68
+ - uses : actions/checkout@v4
69
+ - uses : dtolnay/rust-toolchain@nightly
70
+ - uses : Swatinem/rust-cache@v2
71
+ - run : cargo check --all-features
72
+ env :
73
+ RUSTFLAGS : >-
74
+ -D unexpected_cfgs
75
+ --cfg h2_internal_check_unexpected_cfgs
76
+ --check-cfg=cfg(h2_internal_check_unexpected_cfgs,fuzzing)
77
+
64
78
# clippy_check:
65
79
# runs-on: ubuntu-latest
66
80
# steps:
Original file line number Diff line number Diff line change 85
85
clippy:: undocumented_unsafe_blocks
86
86
) ]
87
87
#![ allow( clippy:: type_complexity, clippy:: manual_range_contains) ]
88
+ #![ cfg_attr( not( h2_internal_check_unexpected_cfgs) , allow( unexpected_cfgs) ) ]
88
89
#![ cfg_attr( test, deny( warnings) ) ]
89
90
90
91
macro_rules! proto_err {
You can’t perform that action at this time.
0 commit comments