Files
zig/src
Motiejus Jakštys 6d8cfa834e pre-compute AIR at build time instead of linking Zig internals into test binary
Replace the old approach of linking verbose_air.zig (and the full Zig
compiler internals) into the test binary with a build-time generator
(verbose_air_gen.zig) that pre-computes AIR data for corpus files.

The generator runs as a build step, compiling each corpus file through
the Zig compiler and serializing the resulting AIR to binary files.
It produces air_data.zig and tag_names.zig bridge files that the test
binary imports as anonymous modules. This removes the heavyweight
zig_compile_air extern dependency from the test binary.

Key changes:
- build.zig: add air_gen executable build+run step, anonymous imports
- verbose_air_gen.zig (new): build-time AIR generator with symlink
  workaround to avoid lib/std/ module path conflicts
- corpus.zig (new): centralized corpus file list with num_passing
- sema_test.zig: replace zig_compile_air extern with parsePrecomputedAir
- stages_test.zig: use corpus.zig and @import("air_data")
- sema.c: zero dead block data in comptime switch handler so the
  dead-block skip rule fires correctly with precomputed data

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 18:03:24 +00:00
..
2025-08-12 16:33:57 +02:00
2025-09-21 21:08:52 +02:00
2025-10-02 10:55:16 +02:00
2026-02-19 21:21:05 +00:00
2025-07-16 10:23:02 -07:00
2026-02-19 21:21:05 +00:00
2025-08-02 04:16:01 +03:30
2025-07-07 22:43:51 -07:00
2026-02-19 21:21:05 +00:00