Skip to content

Commit 2da10c2

Browse files
authored
Add missing file in zon file (#94)
The build system requires the `tools/gennodetags/main.zig` file, but since it's not included in the `build.zig.zon` file, anyone who adds `pgzx` as a dependency via `zig fetch` (or by specifying the url) will not be able to build their extension. It will fail with the following error: `error: unable to load '/home/guacs/.cache/zig/p/122078a0d7c7c1fc0cee07a61e8101509799873e1f46da165084cd9897f59303652b/tools/gennodetags/main.zig': FileNotFound` As a workaround, copying the `tools` directory manually to the directory containing the source code that `zig` internally creates will work.
1 parent ac878b8 commit 2da10c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.zig.zon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
.paths = .{
55
"build.zig",
66
"src",
7+
"tools/gennodetags/main.zig",
78
},
89
}

0 commit comments

Comments
 (0)