diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-02-13 09:13:36 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-02-13 09:13:36 -0700 |
| commit | 35bb823131a93d7407e79897d4cd20ae2a98ca54 (patch) | |
| tree | 16d57261041cfc2927aed694cff0bbc1cdab689c /build.zig | |
| parent | e9c7e539e486c28144b03e934fc96a20c004fbdc (diff) | |
| download | zig-35bb823131a93d7407e79897d4cd20ae2a98ca54.tar.gz zig-35bb823131a93d7407e79897d4cd20ae2a98ca54.zip | |
build.zig: builder.zig_exe is not relative
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -40,12 +40,11 @@ pub fn build(b: *std.Build) !void { }); docgen_exe.single_threaded = single_threaded; - const rel_zig_exe = try b.build_root.join(b.allocator, &.{b.zig_exe}); const langref_out_path = try b.cache_root.join(b.allocator, &.{"langref.html"}); const docgen_cmd = docgen_exe.run(); docgen_cmd.addArgs(&[_][]const u8{ "--zig", - rel_zig_exe, + b.zig_exe, "doc" ++ fs.path.sep_str ++ "langref.html.in", langref_out_path, }); |
