| ... | @@ -79,7 +79,7 @@ pub const Extended = union(enum) { | ... | @@ -79,7 +79,7 @@ pub const Extended = union(enum) { |
| 79 | options: Todo, | 79 | options: Todo, |
| 80 | remove_dir: Todo, | 80 | remove_dir: Todo, |
| 81 | run: Run, | 81 | run: Run, |
| 82 | top_level: Todo, | 82 | top_level: TopLevel, |
| 83 | translate_c: Todo, | 83 | translate_c: Todo, |
| 84 | update_source_files: Todo, | 84 | update_source_files: Todo, |
| 85 | write_file: Todo, | 85 | write_file: Todo, |
| ... | @@ -119,6 +119,20 @@ pub const Extended = union(enum) { | ... | @@ -119,6 +119,20 @@ pub const Extended = union(enum) { |
| 119 | std.debug.panic("TODO implement another step type (index {d})", .{step_index}); | 119 | std.debug.panic("TODO implement another step type (index {d})", .{step_index}); |
| 120 | } | 120 | } |
| 121 | }; | 121 | }; |
| | 122 | |
| | 123 | pub const TopLevel = struct { |
| | 124 | pub fn make( |
| | 125 | top_level: *TopLevel, |
| | 126 | step_index: Configuration.Step.Index, |
| | 127 | maker: *Maker, |
| | 128 | progress_node: std.Progress.Node, |
| | 129 | ) Step.ExtendedMakeError!void { |
| | 130 | _ = top_level; |
| | 131 | _ = step_index; |
| | 132 | _ = maker; |
| | 133 | _ = progress_node; |
| | 134 | } |
| | 135 | }; |
| 122 | }; | 136 | }; |
| 123 | | 137 | |
| 124 | pub const State = enum { | 138 | pub const State = enum { |