| ... | ... | @@ -2131,11 +2131,10 @@ pub fn update(comp: *Compilation, main_progress_node: *std.Progress.Node) !void |
| 2131 | 2131 | // Put a work item in for every known source file to detect if |
| 2132 | 2132 | // it changed, and, if so, re-compute ZIR and then queue the job |
| 2133 | 2133 | // to update it. |
| 2134 | | // We still want AstGen work items for stage1 so that we expose compile errors |
| 2135 | | // that are implemented in stage2 but not stage1. |
| 2136 | 2134 | try comp.astgen_work_queue.ensureUnusedCapacity(module.import_table.count()); |
| 2137 | | for (module.import_table.values()) |value| { |
| 2138 | | comp.astgen_work_queue.writeItemAssumeCapacity(value); |
| 2135 | for (module.import_table.values()) |file| { |
| 2136 | if (file.mod.isBuiltin()) continue; |
| 2137 | comp.astgen_work_queue.writeItemAssumeCapacity(file); |
| 2139 | 2138 | } |
| 2140 | 2139 | |
| 2141 | 2140 | // Put a work item in for checking if any files used with `@embedFile` changed. |