Problem
The legacy --compile path produces a binary that, at every launch, writes the whole home executable plus the source into /tmp, forks, and execvs home run. That costs cold-start time, fails where /tmp is noexec, and leaks temp files when killed. Since babb9f9e2 JSC-enabled builds go through runNativeBuildCommand, so this path is only reachable in edge cases.
Evidence (origin/main @ d4b219507)
packages/codegen/src/js_entrypoint_llvm.zig:97-230src/main.zig:3490-3620src/main.zig:6321-6328src/main.zig:2784-2798
Scope
- Remove
js_entrypoint_llvm.zigand the command branch, or make it a hard error with a clear message.
Acceptance criteria
home build --compilehas exactly one implementation.- No compiled artifact writes to
/tmpat startup (test with a read-only / noexec tmp).
Links
Part of #814.