Skip to content

Commit 9edfcb8

Browse files
committed
Revert "chore(lib): fix unexpected cfg warning (hyperium#3660)"
This reverts commit 56ef0cc.
1 parent 3b858ed commit 9edfcb8

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

Diff for: .github/workflows/CI.yml

-17
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ jobs:
2323
- features
2424
- ffi
2525
- ffi-header
26-
- unexpected-cfgs
2726
- doc
2827
- check-external-types
2928
- udeps
@@ -221,22 +220,6 @@ jobs:
221220
- name: Ensure that hyper.h is up to date
222221
run: ./capi/gen_header.sh --verify
223222

224-
unexpected-cfgs:
225-
runs-on: ubuntu-latest
226-
needs: [style]
227-
steps:
228-
- uses: actions/checkout@v4
229-
- uses: dtolnay/rust-toolchain@nightly
230-
- uses: Swatinem/rust-cache@v2
231-
- run: cargo check --all-features
232-
env:
233-
RUSTFLAGS: >-
234-
-D unexpected_cfgs
235-
--cfg hyper_internal_check_unexpected_cfgs
236-
--cfg hyper_unstable_tracing
237-
--cfg hyper_unstable_ffi
238-
--check-cfg=cfg(hyper_internal_check_unexpected_cfgs,hyper_unstable_tracing,hyper_unstable_ffi)
239-
240223
doc:
241224
name: Build docs
242225
needs: [style, test]

Diff for: src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#![deny(missing_docs)]
22
#![deny(missing_debug_implementations)]
3-
#![cfg_attr(not(hyper_internal_check_unexpected_cfgs), allow(unexpected_cfgs))]
43
#![cfg_attr(test, deny(rust_2018_idioms))]
54
#![cfg_attr(all(test, feature = "full"), deny(unreachable_pub))]
65
#![cfg_attr(all(test, feature = "full"), deny(warnings))]

0 commit comments

Comments
 (0)