rmeoved root_module path for zig build since linkLibrary already propagates include paths to the exe module tree. the above fix is for test modules explicitly.
Browse files
+0 −1 build.zig
| @@ -15,7 +15,6 @@ pub fn build(b: *std.Build) void { | ||
| 15 | 15 | .optimize = optimize, |
| 16 | 16 | }), |
| 17 | 17 | }); |
| 18 | - exe.root_module.addIncludePath(lua_headers); | |
| 19 | 18 | |
| 20 | 19 | const exe_options = b.addOptions(); |
| 21 | 20 | exe_options.addOption([]const u8, "version", zon.version); |