diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2025-03-14 22:44:44 +0000 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-03-22 21:44:46 -0400 |
| commit | 9f235a105b29c6f1c0c773f66c40e7ee655da559 (patch) | |
| tree | 7cf5939a5b39ea6b75f54b4b06e36819972b97ef /lib/std/math | |
| parent | 9c9d3931df4c1decffec610e5e47b3049b147c8d (diff) | |
| download | zig-9f235a105b29c6f1c0c773f66c40e7ee655da559.tar.gz zig-9f235a105b29c6f1c0c773f66c40e7ee655da559.zip | |
link: mark prelink tasks as procesed under `-fno-emit-bin`
The old logic only decremented `remaining_prelink_tasks` if `bin_file`
was not `null`. This meant that on `-fno-emit-bin` builds with
registered prelink tasks (e.g. C source files), we exited from
`Compilation.performAllTheWorkInner` early, assuming a prelink error.
Instead, when `bin_file` is `null`, we still decrement
`remaining_prelink_tasks`; we just don't do any actual work.
Resolves: #22682
Diffstat (limited to 'lib/std/math')
0 files changed, 0 insertions, 0 deletions
