Implement Zag Script, zagd planning, and Linux x86 milestones - #2
Implement Zag Script, zagd planning, and Linux x86 milestones#2micahcooley wants to merge 452 commits into
Conversation
|
Important Review skippedToo many files! This PR contains 882 files, which is 782 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. Usage-priced reviews support at most 300 files. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (17)
📒 Files selected for processing (882)
You can disable this status message by setting the ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Note The number of changes in this pull request is too large for Gemini Code Assist to generate a review. |
The explain/witness rewrite accumulated every manifest line via _zag_str_concat on []u8, reallocating the whole buffer per subexpression. On the full compiler manifest (~131k lines) this O(n^2) bump-allocator growth blew past the 16 GB runner and OOM-killed the bootstrap step. Convert the lines/call_lines/body accumulators (and the sm_calls_*/ sm_expr_witness/sm_value_facts_body helpers) to append-based ArrayList[u8] via the existing aj() helper. Output is byte-identical; bootstrap peak drops to ~1 GiB and the znc seed reaches fixpoint. Refresh the znc seed to the reproducible fixpoint built from the fixed source. Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
What changed
Authority and safety
Regular Zag remains advisory and source-preserving. Zag Script applies defaults only where source choices are unspecified. Foreground compilation remains authoritative without zagd. Unsupported i686 and optimizer behavior fails closed and remains documented.
Validation
Remaining documented boundaries
This PR does not claim universal memory safety, a complete ownership system, universal deep optimization, full foreign i686 ABI coverage, ARM support, or full x86-family completion.
Need help on this PR? Tag
/codesmithwith what you need. Autofix is enabled.