writeonce/compiler/bin
shoney.arickathil 37d3ba1543 fix(compiler): woc build -o creates the output's parent directory — a fresh checkout has no target/
- `woc build <dir> -o <example>/target/<name>` wrote its temp file beside the
  output and failed with "No such file or directory" when target/ was absent;
  target/ is gitignored, so every fresh checkout hit it — the db-actor and
  db-bench gates went red on a clean master worktree while passing on dev,
  where the directories exist from history
- the driver now creates the output's parent (mkdir -p shape) before the
  temp write; project-mode builds and existing directories are unchanged
- single-binary-smoke.sh gains `build-into-missing-dir` (4 checks, was 3),
  red on the old driver, green on this one; woc-test clean

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
(cherry picked from commit e9213bb949e1c26cb3a29d6f9babf2322a82d839)
2026-09-15 01:34:13 +02:00
..
dune feat(compiler): Tasks 1-4 — scaffold, diagnostics, lexer, declaration parser 2026-08-10 09:00:08 +02:00
main.ml fix(compiler): woc build -o creates the output's parent directory — a fresh checkout has no target/ 2026-09-15 01:34:13 +02:00