Skip to content

Commit be8aeb1

Browse files
Sunrisepeakclaude
andcommitted
fix: pin lua dependency to 5.4 for mcpplibs-capi-lua
The C API bindings are written for Lua 5.4. Pin the version to avoid breaking changes from Lua 5.5 (const for-loop vars, lua_newstate signature change, removed GC constants). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent fff6360 commit be8aeb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/m/mcpplibs-capi-lua/xmake.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ package("mcpplibs-capi-lua")
1212
add_versions("0.0.2", "3f23354dc589b7c85ff188f241046f51d8aac0cda001bae75ae0b8eef3705f59")
1313
add_versions("0.0.1", "cd75cf95f193e782c9024e25a89fce99c820dc93930d7157a16f89f5a16b6521")
1414

15-
add_deps("lua")
15+
add_deps("lua ~5.4")
1616

1717
on_install(function (package)
1818
local configs = {}

0 commit comments

Comments
 (0)