[Tarantool-patches] [PATCH v5] build: introduce LUAJIT_ENABLE_PAIRSMM flag

Kirill Yukhin kyukhin at tarantool.org
Wed Feb 19 10:49:50 MSK 2020


Hello,

On 26 ноя 17:48, Olga Arkhangelskaia wrote:
> Adds LUAJIT_ENABLE_PAIRSMM flag as a build option for luajit.
> If the flag is set, pairs/ipairs metamethods are available in Lua 5.1.
> For tarantool this option is enabled by default.
> 
> Part of #4560
> Branch:https://github.com/tarantool/luajit/tree/OKriw/gh-4560-Enable-LUAJIT_ENABLE_LUA52COMPAT-when-bulding-luajit
> 
> v1: https://lists.tarantool.org/pipermail/tarantool-patches/2019-November/012466.html
> v2: https://lists.tarantool.org/pipermail/tarantool-patches/2019-November/012489.html
> v3: https://lists.tarantool.org/pipermail/tarantool-patches/2019-November/012527.html

This change breaks compatibility w/ Lua 5.1
and was checked into 1.10, 2.1, 2.2, 2.3 and master
by mistake.
Right it leads to failures in existing Lua code
(see tarantool/tarantool#4770).

The change was reverted in 1.10, 2.2, 2.3 and master.

--
Regards, Kirill Yukhin


More information about the Tarantool-patches mailing list