Problem
Beyond type errors (tracked separately), native home build has correctness gaps: the comptime executor is set up but never runs; module-name prefixing for symbols is disabled (a known writer bug), so same-named functions in different modules can collide; and the incremental cache stores empty blobs.
Evidence (origin/main @ d4b219507)
src/main.zig:3955-3963src/main.zig:3979-3990packages/codegen/src/native_codegen.zig:3325packages/codegen/src/native_codegen.zig:4953
Scope
- Run the comptime executor (or error on comptime constructs until it does).
- Fix the writer bug and re-enable per-module symbol prefixes.
- Store real artifacts in the incremental cache, or disable it.
Acceptance criteria
- Two modules each defining
fn helper()link and call the right one. - A comptime expression is evaluated at build time (test).
- A cache hit reproduces a byte-identical binary.