File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -636,18 +636,14 @@ test lessThan {
636636    try  testing .expect (lessThan (u8 , "" , "a" ));
637637}
638638
639- /// Normally, we could simply use `builtin.fuzz` but this requires a zig1.wasm 
640- /// update. After the next zig1.wasm update, the `@hasDecl` can be removed. 
641- const  fuzz  =  @hasDecl (builtin , "fuzz" ) and  builtin .fuzz ;
642- 
643639const  eqlBytes_allowed  =  switch  (builtin .zig_backend ) {
644640    // The SPIR-V backend does not support the optimized path yet. 
645641    .stage2_spirv64  = >  false ,
646642    // The RISC-V does not support vectors. 
647643    .stage2_riscv64  = >  false ,
648644    // The naive memory comparison implementation is more useful for fuzzers to 
649645    // find interesting inputs. 
650-     else  = >  ! fuzz ,
646+     else  = >  ! builtin . fuzz ,
651647};
652648
653649/// Compares two slices and returns whether they are equal. 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments