README.md: Updated to reflect Lua v5.4.5 and API/ABI warning

This commit is contained in:
Walter Schell 2023-04-30 10:57:09 -04:00
parent 92b3e7a7e1
commit 8a2fcec972

View File

@ -1,5 +1,5 @@
# Lua
CMake based build of Lua 5.4.4
CMake based build of Lua 5.4.5
| Build as C | Build as C++ |
| --: | --: |
| ![Build Linux](https://github.com/walterschell/Lua/actions/workflows/build-linux.yml/badge.svg?branch=master) | ![Build Linux as C++](https://github.com/walterschell/Lua/actions/workflows/build-linux-cxx.yml/badge.svg?branch=master) |
@ -13,3 +13,6 @@ add_subdirectory(lua)
...
target_link_libraries(<YOURTARGET> lua_static)
```
# Important Note:
Depending on your use case, Lua v5.4.5 is API and ABI incompatible with v5.4.1-v5.4.4. A second parameter has been added to `lua_resetthread()`. See https://marc.info/?t=168182290600001&r=1&w=2 for more details.