mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 14:25:16 +00:00
build.zig: builder.zig_exe is not relative
This commit is contained in:
parent
e9c7e539e4
commit
35bb823131
@ -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,
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user