2.1.0 is compatible with 5.4 with the same caveats as 5.3: legacy math functions need to be enabled (-DLUA_COMPAT_5_3 or -DLUA_COMPAT_MATHLIB).
b6889e3