mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
comp: remove an, unencouraged... pattern
This commit is contained in:
parent
863f74dcd2
commit
889a324e77
@ -3542,8 +3542,7 @@ fn performAllTheWorkInner(
|
||||
// in the `astgen_wait_group`.
|
||||
if (comp.job_queued_update_builtin_zig) b: {
|
||||
comp.job_queued_update_builtin_zig = false;
|
||||
const zcu = comp.zcu orelse break :b;
|
||||
_ = zcu;
|
||||
if (comp.zcu == null) break :b;
|
||||
// TODO put all the modules in a flat array to make them easy to iterate.
|
||||
var seen: std.AutoArrayHashMapUnmanaged(*Package.Module, void) = .{};
|
||||
defer seen.deinit(comp.gpa);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user