| ... | ... | @@ -636,10 +636,6 @@ 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, |
| ... | ... | @@ -647,7 +643,7 @@ const eqlBytes_allowed = switch (builtin.zig_backend) { |
| 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. |