diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-07-15 19:05:55 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-07-15 19:05:55 -0700 |
| commit | 8cb09db4e357c265ef3465fd736d36366d37a0a3 (patch) | |
| tree | 7623297bf1ee83ca0ac0e4070b585a8c269f0b41 /src/Compilation.zig | |
| parent | ba623b160ed43b720a6c653a24e9efb91f52d326 (diff) | |
| download | zig-8cb09db4e357c265ef3465fd736d36366d37a0a3.tar.gz zig-8cb09db4e357c265ef3465fd736d36366d37a0a3.zip | |
update some Module references to Zcu instead
I ended up reverting my real change, so here's a consolation prize
instead.
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index 3d80cdb6a1..8243bc3620 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -3595,7 +3595,7 @@ fn performAllTheWorkInner( } if (comp.module) |zcu| { - const pt: Zcu.PerThread = .{ .zcu = comp.module.?, .tid = .main }; + const pt: Zcu.PerThread = .{ .zcu = zcu, .tid = .main }; if (comp.incremental) { const update_zir_refs_node = main_progress_node.start("Update ZIR References", 0); defer update_zir_refs_node.end(); |
