Skip to content

fix: emit via FLOWC_IN/OUT in bootstrap_from_c.sh - #516

Merged
godofecht merged 2 commits into
mainfrom
fix/bootstrap-flowc-in-out
Aug 16, 2026
Merged

godofecht merged 2 commits into
mainfrom
fix/bootstrap-flowc-in-out

Conversation

@godofecht

Copy link
Copy Markdown
Contributor

Summary

  • bootstrap_from_c.sh was still calling flowc with positional args, which now runs the self-test instead of emitting C.
  • That made flowc self-host (no Python) fail with bootstrap_sum.c: No such file or directory on any PR that touches scripts/**.
  • Switch smoke/regen/verify to FLOWC_IN / FLOWC_OUT, and align AGENTS.md with the same convention.

Test plan

  • ./compiler/scripts/bootstrap_from_c.sh locally → PASS, writes compiler/build/bootstrap_sum.c
  • CI flowc self-host (no Python) green on this PR

Made with Cursor

Positional argv now runs the self-test instead of emitting C, which
broke the flowc self-host CI smoke (missing bootstrap_sum.c).

Co-authored-by: Cursor <[email protected]>
@cursor

cursor Bot commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

The flow CLI still passed positional args to flowc (self-test, no C
written). bootstrap --verify compared against driver.flow though the
checked-in C is the main.flow bundle.

Co-authored-by: Cursor <[email protected]>
@godofecht
godofecht merged commit 9fa2ecd into main Aug 16, 2026
16 checks passed
@godofecht
godofecht deleted the fix/bootstrap-flowc-in-out branch August 16, 2026 21:12
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.

1 participant