File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 2323      - features 
2424      - ffi 
2525      - ffi-header 
26+       - unexpected-cfgs 
2627      - doc 
2728      - check-external-types 
2829      - udeps 
@@ -220,6 +221,22 @@ jobs:
220221      - name : Ensure that hyper.h is up to date 
221222        run : ./capi/gen_header.sh --verify 
222223
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+ 
223240   doc :
224241    name : Build docs 
225242    needs : [style, test] 
Original file line number Diff line number Diff line change 11#![ deny( missing_docs) ]  
22#![ deny( missing_debug_implementations) ]  
3+ #![ cfg_attr( not( hyper_internal_check_unexpected_cfgs) ,  allow( unexpected_cfgs) ) ]  
34#![ cfg_attr( test,  deny( rust_2018_idioms) ) ]  
45#![ cfg_attr( all( test,  feature = "full" ) ,  deny( unreachable_pub) ) ]  
56#![ cfg_attr( all( test,  feature = "full" ) ,  deny( warnings) ) ]  
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments