aboutsummaryrefslogtreecommitdiff
path: root/lib/std
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2025-01-25 04:48:16 +0000
committermlugg <mlugg@mlugg.co.uk>2025-01-25 06:07:08 +0000
commitf47b8de2ad706616b648c52f5036102cb804e65d (patch)
tree20246773622e31440107d87455d5a01ac1cd8dcf /lib/std
parent5202c977d95bf65775e733264b7d37ed940a2997 (diff)
downloadzig-f47b8de2ad706616b648c52f5036102cb804e65d.tar.gz
zig-f47b8de2ad706616b648c52f5036102cb804e65d.zip
incremental: handle `@embedFile`
Uses of `@embedFile` register dependencies on the corresponding `Zcu.EmbedFile`. At the start of every update, we iterate all embedded files and update them if necessary, and invalidate the dependencies if they changed. In order to properly integrate with the lazy analysis model, failed embed files are now reported by the `AnalUnit` which actually used `@embedFile`; the filesystem error is stored in the `Zcu.EmbedFile`. An incremental test is added covering incremental updates to embedded files, and I have verified locally that dependency invalidation is working correctly.
Diffstat (limited to 'lib/std')
0 files changed, 0 insertions, 0 deletions