@@ -176,33 +176,6 @@ clippy-apply-fix-unix:
176176clippy-apply-fix-windows : 
177177    cargo clippy --target x86 _64 -pc-windows-msvc --fix --all 
178178
179- # Generate and test all possible feature combinations for a package 
180- clippy-feature-combinations  package  target = default-target : 
181-     #!/usr/bin/env bash
182-     set -euo pipefail
183-     
184-     # Get all features for the package 
185-     features=$(cargo metadata --format-version 1  --no-deps | jq -r ' .packages[] | select(.name == "{{ package}} ||  true )
186-     
187-     echo " Testing {{ package}} 
188-     cargo clippy -p {{ package}} {{  if  target ==  " debug"" dev"else  { target } }} 
189-     
190-     echo " Testing {{ package}} 
191-     cargo clippy -p {{ package}} {{  if  target ==  " debug"" dev"else  { target } }} 
192-     
193-     # Test each feature individually 
194-     for feature in $features; do
195-         echo " Testing {{ package}} 
196-         cargo clippy -p {{ package}} " $feature"{{  if  target ==  " debug"" dev"else  { target } }} ||  echo " Feature $feature failed for {{ package}} 
197-     done
198-     
199-     # Test all features together 
200-     if  [ -n " $features"
201-         all_features=$(echo $features | tr ' \n'' ,'' s/,$//'
202-         echo " Testing {{ package}} 
203-         cargo clippy -p {{ package}} " $all_features"{{  if  target ==  " debug"" dev"else  { target } }} ||  echo " All features failed for {{ package}} 
204-     fi
205- 
206179# Run clippy with feature combinations for all packages 
207180clippy-exhaustive  target = default-target :  (witguest-wit )
208181    ./ hack/ clippy-package-features.sh hyperlight-host {{  target }} 
0 commit comments