File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -100,13 +100,13 @@ popd
100100
101101echo  -e " \n\nTesting no-std flags in various combinations" 
102102for  DIR  in  lightning lightning-invoice lightning-rapid-gossip-sync;  do 
103- 	cargo test  -p $DIR  --verbose --color always --no-default-features --features no-std
103+ 	[  " $RUSTC_MINOR_VERSION "   -gt  50 ]  &&   cargo test  -p $DIR  --verbose --color always --no-default-features --features no-std
104104	#  check if there is a conflict between no-std and the default std feature
105- 	cargo test  -p $DIR  --verbose --color always --features no-std
105+ 	[  " $RUSTC_MINOR_VERSION "   -gt  50 ]  &&   cargo test  -p $DIR  --verbose --color always --features no-std
106106done 
107107for  DIR  in  lightning lightning-invoice lightning-rapid-gossip-sync;  do 
108108	#  check if there is a conflict between no-std and the c_bindings cfg
109- 	RUSTFLAGS=" --cfg=c_bindings" test  -p $DIR  --verbose --color always --no-default-features --features=no-std
109+ 	[  " $RUSTC_MINOR_VERSION "   -gt  50 ]  &&   RUSTFLAGS=" --cfg=c_bindings" test  -p $DIR  --verbose --color always --no-default-features --features=no-std
110110done 
111111RUSTFLAGS=" --cfg=c_bindings" test  --verbose --color always
112112
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments