Update build.zig for breaking change in latest zig master

https://github.com/ziglang/zig/pull/19597
This commit is contained in:
Martin Ashby 2024-05-24 11:40:30 +01:00 committed by CJ van den Berg
parent 9ed377279e
commit a456f138f4

View file

@ -10,7 +10,7 @@ pub fn build(b: *std.Build) void {
});
_ = b.addModule("syntax", .{
.root_source_file = .{ .path = "src/syntax.zig" },
.root_source_file = b.path("src/syntax.zig"),
.imports = &.{
.{ .name = "treez", .module = tree_sitter_dep.module("treez") },
ts_queryfile(b, tree_sitter_dep, "tree-sitter-agda/queries/highlights.scm"),