aboutsummaryrefslogtreecommitdiff
path: root/lib/std/array_list.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-09-28 15:42:09 -0700
committerAndrew Kelley <andrew@ziglang.org>2020-09-28 15:42:09 -0700
commit412a2f966e18aa792089ac1f41482222d7f2434f (patch)
tree36f4d7f00ce93bc3f10844e3bbf56f75c8ddba8d /lib/std/array_list.zig
parent91a73a177bc20fa0219dbb6c3cf3dda1c2a465db (diff)
downloadzig-412a2f966e18aa792089ac1f41482222d7f2434f.tar.gz
zig-412a2f966e18aa792089ac1f41482222d7f2434f.zip
store stage1 flags in a trailing byte in the hash id symlink
When we get a cache hit for a stage1 compilation, we need to know about some of the flags such as have_winmain or have_dllmain to know which subsystem to infer during linking. To do this, we append a hex-encoded byte into the intentionally-dangling symlink which contains the cache hash digest rather than a filename. The hex-encoded byte contains the flags we need to infer the subsystem during linking.
Diffstat (limited to 'lib/std/array_list.zig')
0 files changed, 0 insertions, 0 deletions