mirror of
https://github.com/mlua-rs/mlua
synced 2026-06-08 16:05:43 +00:00
f0806a6d62
When Lua is configured without memory restrictions, we use fastpath for table creation (unprotected mode). In generally it's safe as long as we `abort()` on allocation failure. However some Lua versions have additional restrictions on table size that we need to adhere in mlua too. Probably Luau has the lowest limits. Fixes #627