File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed 
sparse_strips/vello_sparse_tests Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 66//! This build step exists primarily for the wasm32 target testing the browser exclusive "webgl" 
77//! feature which cannot read snapshot images from the file system. Instead, the reference images 
88//! are inlined into the binary. 
9- #[ cfg( not( feature  = "webgl " ) ) ]  
9+ #[ cfg( not( target_arch  = "wasm32 " ) ) ]  
1010fn  main ( )  { } 
11- #[ cfg( feature  = "webgl " ) ]  
11+ #[ cfg( target_arch  = "wasm32 " ) ]  
1212fn  main ( )  { 
1313    use  std:: fs; 
1414    use  std:: io:: Write ; 
Original file line number Diff line number Diff line change 2020
2121#![ allow( missing_docs,  reason = "we don't need docs for testing" ) ]  
2222#![ allow( clippy:: cast_possible_truncation,  reason = "not critical for testing" ) ]  
23- #![ cfg( all( target_arch = "wasm32" ,  feature = "webgl" ) ) ]  
23+ 
24+ #[ cfg( all( target_arch = "wasm32" ,  feature = "webgl" ) ) ]  
2425wasm_bindgen_test:: wasm_bindgen_test_configure!( run_in_browser) ; 
2526
2627mod  basic; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments