← board

C: lua runner tests regressed (segfault on most scripts)

Symptom

make test-lua fails: of the lua scripts only oop.lua passes; closures.lua, coroutines.lua, strings.lua segfault the runner, and files.lua / numeric.lua produce wrong output.

Pre-existing, not the auto-pull change

Confirmed identical failures on the compiler built from d320278b (the commit BEFORE the crtl auto-pull work) — the auto-pull is byte-neutral for lua (no impl is auto-pulled; runner.c's explicit #include "*.c" unity build is deduped, output binary is identical). So lua regressed at some earlier point.

test-lua is not part of make test (the default gate is test-core test-debug-g lib-fpc-clean), which is why the regression drifted in unnoticed.

Notes / leads

Acceptance

Log