zig/tools
mlugg f47b8de2ad
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.
2025-01-25 06:07:08 +00:00
..
crc std.hash.crc: simplify api 2024-04-28 21:12:01 +12:00
spirv spirv: update spec generator 2024-03-18 19:13:46 +01:00
docgen.zig std: restructure child process namespace 2024-05-26 09:31:55 -07:00
doctest.zig Replace deprecated default initializations with decl literals 2024-09-12 16:01:23 +01:00
dump-cov.zig Replace deprecated default initializations with decl literals 2024-09-12 16:01:23 +01:00
fetch_them_macos_headers.zig fetch_them_macos_headers: Simplify, remove unused code. 2024-12-23 00:09:52 +01:00
gen_macos_headers_c.zig Move fetch-them-macos-headers tools to ziglang/zig. 2024-12-14 23:45:18 +01:00
gen_outline_atomics.zig lib,test,tools,doc: update usages of @export 2024-08-27 00:44:35 +01:00
gen_spirv_spec.zig ComptimeStringMap: return a regular struct and optimize 2024-04-22 15:31:41 -07:00
gen_stubs.zig gen_stubs: Require less manual intervention and produce better output. 2024-11-23 03:10:58 +01:00
generate_c_size_and_align_checks.zig Replace deprecated default initializations with decl literals 2024-09-12 16:01:23 +01:00
generate_JSONTestSuite.zig Replace deprecated default initializations with decl literals 2024-09-12 16:01:23 +01:00
generate_linux_syscalls.zig generate_linux_syscalls: Generate syscalls for x32. 2024-11-02 10:42:53 +01:00
incr-check.zig incremental: handle @embedFile 2025-01-25 06:07:08 +00:00
lldb_pretty_printers.py x86_64: rewrite 2025-01-16 20:42:07 -05:00
macos-headers.c Move fetch-them-macos-headers tools to ziglang/zig. 2024-12-14 23:45:18 +01:00
migrate_langref.zig Fix small TODO in tools/migrate_langref.zig (#21825) 2024-10-28 00:03:33 +00:00
process_headers.zig process_headers: Use glibcRuntimeTriple() and muslArchName() from std.zig.target. 2024-11-28 18:49:16 +01:00
stage1_gdb_pretty_printers.py gdb: restructure pretty printers into different files 2022-03-16 18:13:10 +01:00
stage2_gdb_pretty_printers.py InternPool: port most of value tags 2023-06-10 20:47:54 -07:00
std_gdb_pretty_printers.py tools: implement more lldb pretty printers 2023-02-27 05:37:03 -05:00
update-linux-headers.zig Rename Dir.writeFile2 -> Dir.writeFile and update all callsites 2024-05-03 13:29:22 -07:00
update_clang_options.zig compiler: Improve the handling of unwind table levels. 2024-12-11 00:10:15 +01:00
update_cpu_features.zig wasm: Add a nontrapping_bulk_memory_len0 feature. 2025-01-22 20:56:28 +01:00
update_crc_catalog.zig std.hash.crc: simplify api 2024-04-28 21:12:01 +12:00
update_glibc.zig Revert "Merge pull request #12060 from Vexu/IterableDir" 2023-11-22 12:35:33 -07:00
update_mingw.zig update_mingw: Update blacklist to dcd7fefc703fb4b12187235386900d34cc13fdc5. 2024-12-13 03:59:08 +01:00
update_spirv_features.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
zig_gdb_pretty_printers.py Update GDB pretty printers 2023-03-30 12:15:53 +03:00