diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2024-07-23 19:14:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-23 19:14:38 +0200 |
| commit | 255547d7a6a1acee9c9b65d251ec4935433b6878 (patch) | |
| tree | ed616d095ea8de11ab4ebfacd23183af158459ad /src/Compilation.zig | |
| parent | ac2459327fd5adadadf20de7a1883b82a55fc7d6 (diff) | |
| parent | f1af53f68ec629ca091452aeeeb2f7f7596e63b7 (diff) | |
| download | zig-255547d7a6a1acee9c9b65d251ec4935433b6878.tar.gz zig-255547d7a6a1acee9c9b65d251ec4935433b6878.zip | |
Merge pull request #20731 from ziglang/parallel-macho-2
The tale of parallel MachO: part 2
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index 98d2fd552a..567d0b0a02 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -105,8 +105,9 @@ win32_resource_table: if (dev.env.supports(.win32_resource)) std.AutoArrayHashMa pub fn deinit(_: @This(), _: Allocator) void {} } = .{}, -link_error_flags: link.File.ErrorFlags = .{}, link_errors: std.ArrayListUnmanaged(link.File.ErrorMsg) = .{}, +link_errors_mutex: std.Thread.Mutex = .{}, +link_error_flags: link.File.ErrorFlags = .{}, lld_errors: std.ArrayListUnmanaged(LldError) = .{}, work_queues: [ @@ -3067,7 +3068,6 @@ pub fn totalErrorCount(comp: *Compilation) u32 { total += @intFromBool(comp.link_error_flags.no_entry_point_found); } total += @intFromBool(comp.link_error_flags.missing_libc); - total += comp.link_errors.items.len; // Compile log errors only count if there are no other errors. |
