| ... | @@ -2360,7 +2360,10 @@ const FuzzTestRunner = struct { | ... | @@ -2360,7 +2360,10 @@ const FuzzTestRunner = struct { |
| 2360 | var in_name_buf: [12]u8 = undefined; | 2360 | var in_name_buf: [12]u8 = undefined; |
| 2361 | var in_name: []const u8 = undefined; | 2361 | var in_name: []const u8 = undefined; |
| 2362 | var i: u32 = 0; | 2362 | var i: u32 = 0; |
| 2363 | const header: InputHeader = while (true) { | 2363 | const header: InputHeader = while (true) : ({ |
| | 2364 | if (i == std.math.maxInt(u32)) return; |
| | 2365 | i += 1; |
| | 2366 | }) { |
| 2364 | const name_prefix = "f" ++ Io.Dir.path.sep_str ++ "in"; | 2367 | const name_prefix = "f" ++ Io.Dir.path.sep_str ++ "in"; |
| 2365 | in_name = std.fmt.bufPrint(&in_name_buf, name_prefix ++ "{x}", .{i}) catch unreachable; | 2368 | in_name = std.fmt.bufPrint(&in_name_buf, name_prefix ++ "{x}", .{i}) catch unreachable; |
| 2366 | in_f = b.cache_root.handle.openFile(io, in_name, .{ | 2369 | in_f = b.cache_root.handle.openFile(io, in_name, .{ |
| ... | @@ -2394,8 +2397,6 @@ const FuzzTestRunner = struct { | ... | @@ -2394,8 +2397,6 @@ const FuzzTestRunner = struct { |
| 2394 | } | 2397 | } |
| 2395 | | 2398 | |
| 2396 | in_f.close(io); | 2399 | in_f.close(io); |
| 2397 | if (i == std.math.maxInt(u32)) return; | | |
| 2398 | i += 1; | | |
| 2399 | }; | 2400 | }; |
| 2400 | defer in_f.close(io); | 2401 | defer in_f.close(io); |
| 2401 | | 2402 | |