This works with compiled files up to 1020 bytes, but a file of 1024 bytes causes a restart.
The attached file contains two scripts: t1020.lua and t1024.lua and the compiled versions of them. t1020.lc loads fine using require("t1020"), but t1024.lc causes a restart.
The scripts are compiled using "luac.cross -s -cci 32 -cce little -ccn int 32"
(See viewtopic.php?f=24&t=1305 for info on what I did to compile the scripts)