File tree 1 file changed +1
-5
lines changed
1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -636,18 +636,14 @@ test lessThan {
636
636
try testing .expect (lessThan (u8 , "" , "a" ));
637
637
}
638
638
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
-
643
639
const eqlBytes_allowed = switch (builtin .zig_backend ) {
644
640
// The SPIR-V backend does not support the optimized path yet.
645
641
.stage2_spirv64 = > false ,
646
642
// The RISC-V does not support vectors.
647
643
.stage2_riscv64 = > false ,
648
644
// The naive memory comparison implementation is more useful for fuzzers to
649
645
// find interesting inputs.
650
- else = > ! fuzz ,
646
+ else = > ! builtin . fuzz ,
651
647
};
652
648
653
649
/// Compares two slices and returns whether they are equal.
You can’t perform that action at this time.
0 commit comments