aboutsummaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2025-02-25 23:58:14 +0000
committerJacob Young <jacobly0@users.noreply.github.com>2025-03-02 16:39:18 -0500
commit725c82582935d2bb84d52d906edb2975827b01ec (patch)
tree4a46d9a3f26ec99e4da17e61eeec7c5b5a601fb3 /src/main.zig
parentc2983a3f88411c1c9c20582c43054c07cbbd88b3 (diff)
downloadzig-725c82582935d2bb84d52d906edb2975827b01ec.tar.gz
zig-725c82582935d2bb84d52d906edb2975827b01ec.zip
link: make sure MachO closes the damn files
Windows is a ridiculous operating system designed by toddlers, and so requires us to close all file handles in the `tmp/xxxxxxx` cache dir before renaming it into `o/xxxxxxx`. We have a hack in place to handle this for the main output file, but the MachO linker also outputs a file with debug symbols, and we weren't closing it! This led to a fuckton of CI failures when we enabled `.whole` cache mode by default for self-hosted backends. thanks jacob for figuring this out while i sat there
Diffstat (limited to 'src/main.zig')
0 files changed, 0 insertions, 0 deletions