summaryrefslogtreecommitdiff
path: root/build/tools.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build/tools.zig')
-rw-r--r--build/tools.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/tools.zig b/build/tools.zig
index 92217c4e..c6f25e6d 100644
--- a/build/tools.zig
+++ b/build/tools.zig
@@ -236,7 +236,7 @@ pub fn add(b: *std.Build, c: struct {
// a terminal: its tests reach the editor's modes (modal.zig).
var syntax_cfg = c.lean;
syntax_cfg.root = "src/syntax.zig";
- const syntax_module = core.module(b, c.parts, syntax_cfg);
+ const syntax_module = core.module(b, c.parts, syntax_cfg).root;
const syntax_runner = program(b, "pardes-syntax", "test/syntax.zig", c.target, c.optimize, &.{.{ .name = "syntax", .module = syntax_module }});
const run_syntax = b.addRunArtifact(syntax_runner);
run_syntax.addPassthruArgs();