Skip to content

Fix Lua 5.4/5.5 startup GC mode#109

Merged
ianm199 merged 1 commit into
mainfrom
fix-93-startup-gc-mode-clean
Jun 1, 2026
Merged

Fix Lua 5.4/5.5 startup GC mode#109
ianm199 merged 1 commit into
mainfrom
fix-93-startup-gc-mode-clean

Conversation

@ianm199
Copy link
Copy Markdown
Owner

@ianm199 ianm199 commented Jun 1, 2026

Summary

  • switch hosted Lua 5.4/5.5 runtimes into reported generational GC mode after opening stdlibs
  • keep raw new_state() initialization incremental, matching upstream raw-state behavior
  • add a multiversion regression for the observable mode round-trip

Verification

  • bash .claude/hooks/unsafe-budget.sh
  • cargo test -p lua-rs-runtime v54_v55_start_in_reported_generational_mode
  • cargo build -p lua-cli --bin lua-rs

Note: this fixes only the startup/default-mode parity half of #93. Real generational GC remains architectural work.

@ianm199 ianm199 force-pushed the fix-93-startup-gc-mode-clean branch from 3c4b9e3 to f49ec2d Compare June 1, 2026 23:55
@ianm199 ianm199 merged commit 5309cd1 into main Jun 1, 2026
3 checks passed
@ianm199 ianm199 deleted the fix-93-startup-gc-mode-clean branch June 1, 2026 23:58
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