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 6161 run : ./ci/h2spec.sh
6262 if : matrix.rust == 'stable'
6363
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+
6478 # clippy_check:
6579 # runs-on: ubuntu-latest
6680 # steps:
Original file line number Diff line number Diff line change 8585 clippy:: undocumented_unsafe_blocks
8686) ]
8787#![ allow( clippy:: type_complexity, clippy:: manual_range_contains) ]
88+ #![ cfg_attr( not( h2_internal_check_unexpected_cfgs) , allow( unexpected_cfgs) ) ]
8889#![ cfg_attr( test, deny( warnings) ) ]
8990
9091macro_rules! proto_err {
You can’t perform that action at this time.
0 commit comments