| ... | @@ -1037,7 +1037,20 @@ fn serialize(b: *std.Build, wc: *Configuration.Wip, writer: *Io.Writer) !void { | ... | @@ -1037,7 +1037,20 @@ fn serialize(b: *std.Build, wc: *Configuration.Wip, writer: *Io.Writer) !void { |
| 1037 | })); | 1037 | })); |
| 1038 | break :e @enumFromInt(extra_index); | 1038 | break :e @enumFromInt(extra_index); |
| 1039 | }, | 1039 | }, |
| 1040 | .check_file => @panic("TODO"), | 1040 | .check_file => e: { |
| | 1041 | const cf: *Step.CheckFile = @fieldParentPtr("step", step); |
| | 1042 | break :e @enumFromInt(try wc.addExtra(@as(Configuration.Step.CheckFile, .{ |
| | 1043 | .flags = .{ |
| | 1044 | .expected_exact = cf.expected_exact != null, |
| | 1045 | .expected_matches = cf.expected_matches.len != 0, |
| | 1046 | .max_bytes = cf.max_bytes != null, |
| | 1047 | }, |
| | 1048 | .file = try s.addLazyPath(cf.file), |
| | 1049 | .expected_exact = .{ .value = cf.expected_exact }, |
| | 1050 | .expected_matches = .{ .slice = cf.expected_matches }, |
| | 1051 | .max_bytes = .{ .value = cf.max_bytes }, |
| | 1052 | }))); |
| | 1053 | }, |
| 1041 | .config_header => @panic("TODO"), | 1054 | .config_header => @panic("TODO"), |
| 1042 | .obj_copy => @panic("TODO"), | 1055 | .obj_copy => @panic("TODO"), |
| 1043 | .options => @panic("TODO"), | 1056 | .options => @panic("TODO"), |