We ran into an issue with the lua test in sort.lua at https://github.com/lua/tests/blob/26eebb47b6442996d89e298b99404cbf53468c4c/sort.lua#L198-L199 The code being checked is https://github.com/lua/lua/blob/b1daa069bac27055f17753e85dca6aa256efef6f/ltablib.c#L414 For our build, we have lua_Integer as 32bits, but INT_MAX is 64bits. This results in no failure where the test suite expects one. Could you let us know if this is an issue with the test suite?