Compare commits

...

1 Commits

Author SHA1 Message Date
Kim Morrison
ed57f12eb5 doc: clarify how to trigger automatic stage0 updates
This PR clarifies that to trigger the automatic stage0 update mechanism,
you should modify `stage0/src/stdlib_flags.h` (not `src/stdlib_flags.h`).
The update-stage0 process will then overwrite it with the contents of
`src/stdlib_flags.h`, bringing them back in sync.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 04:17:20 +00:00

View File

@@ -72,6 +72,9 @@ update the archived C source code of the stage 0 compiler in `stage0/src`.
The github repository will automatically update stage0 on `master` once
`src/stdlib_flags.h` and `stage0/src/stdlib_flags.h` are out of sync.
To trigger this, modify `stage0/src/stdlib_flags.h` (e.g., by adding or changing
a comment). When `update-stage0` runs, it will overwrite `stage0/src/stdlib_flags.h`
with the contents of `src/stdlib_flags.h`, bringing them back in sync.
NOTE: A full rebuild of stage 1 will only be triggered when the *committed* contents of `stage0/` are changed.
Thus if you change files in it manually instead of through `update-stage0-commit` (see below) or fetching updates from git, you either need to commit those changes first or run `make -C build/release clean-stdlib`.