1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
.{
.fingerprint = 0xe0ed1e60c285f54f,
.name = .panto_lua,
.version = "0.0.0",
.dependencies = .{
.panto = .{
.path = "../libpanto",
},
// Lua 5.4 source — used only for its headers (`lua.h`,
// `lauxlib.h`, `lualib.h`) at `@cImport` time. A Lua C-module
// does NOT link the Lua library: the host interpreter provides
// every `lua_*`/`luaL_*` symbol at `dlopen` time, resolved via
// dynamic lookup. We pin the same tarball the CLI uses so the
// standalone module and the embedded VM build against identical
// 5.4 headers.
.lua_src = .{
.url = "https://www.lua.org/ftp/lua-5.4.7.tar.gz",
.hash = "N-V-__8AAIMvFABt-Qcpk24RD10ldEN743D8Q2e19Er8x3dJ",
},
},
.paths = .{
"build.zig",
"build.zig.zon",
"src",
},
}
|