From 8cb09db4e357c265ef3465fd736d36366d37a0a3 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 15 Jul 2024 19:05:55 -0700 Subject: update some Module references to Zcu instead I ended up reverting my real change, so here's a consolation prize instead. --- src/Compilation.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Compilation.zig') 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(); -- cgit v1.2.3