Skip to content

bootstrap: regenerate stage-A C to restore fixed point - #825

Merged
godofecht merged 1 commit into
mainfrom
fix/bootstrap-fixed-point
Aug 31, 2026
Merged

godofecht merged 1 commit into
mainfrom
fix/bootstrap-fixed-point

Conversation

@godofecht

@godofecht godofecht commented Aug 30, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #824.

Main's checked-in compiler/bootstrap/flowc_stage_a.c was missing the span-mutability helpers that landed in compiler/src, so ./compiler/scripts/bootstrap_from_c.sh --verify failed for everyone and every compiler/src branch absorbed the unrelated diff into its own regen.

This regenerates the bootstrap C through the bootstrap-binary path from AGENTS.md (the FLOW_HOST=python path is broken, see #823) and rebuilds the checked-in binary. Verified:

  • second emission reproduces the C byte-for-byte
  • ./compiler/scripts/bootstrap_from_c.sh --verify: ALL PASS

The span-mutability helpers (AST_TYPE_SPAN_MUTABLE, flowc_ast_type_set_span_mutable,
flowc_ast_type_span_mutable) landed in compiler/src without a bootstrap regen, so
bootstrap_from_c.sh --verify failed on main for every branch.

Regenerated via the checked-in bootstrap binary per AGENTS.md; a second emission
reproduces the file byte-for-byte and bootstrap_from_c.sh --verify passes ALL.

Closes #824

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LARAuTjD3EYMoJq2EeaKpB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Checked-in bootstrap C is off fixed point: span-mutability helpers missing from flowc_stage_a.c

1 participant