mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-11 23:40:57 +00:00
Added support for Lua 5.1, 5.2 and 5.4 (#6606)
This adds basic support for different Lua versions. For Lua 5.2 and Lua 5.3, both the Bit32 and Compat53 Lua modules must be installed for it to work. You can typically get these on Linux using apt install lua-compat53 lua-bit32 For Lua 5.4, it should work as is, as it is a clean superset of Lua 5.3, which is what the original Lua Flatbuffers supported.
This commit is contained in:
@@ -370,4 +370,4 @@ if not result then
|
||||
print("Unable to run tests due to test framework error: ",err)
|
||||
end
|
||||
|
||||
os.exit(result or -1)
|
||||
os.exit(result and 0 or -1)
|
||||
|
||||
Reference in New Issue
Block a user