motiejus/zig

fork of https://codeberg.org/ziglang/zig
git clone https://git.jakstys.lt/motiejus/zig.git
Log | Tree | Refs | README | LICENSE

commit 661a9be66bdee78530e5a6fbb6463297a405beee (tree)
parent 17c1fa64c375e6d0df129791bbd9d506c3be9104
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Fri, 10 May 2024 17:44:44 -0700

std.Build.Step.Run: add missing call to writeManifest

fixes #19938

Diffstat:
Mlib/std/Build/Step/Run.zig | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/std/Build/Step/Run.zig b/lib/std/Build/Step/Run.zig @@ -709,7 +709,9 @@ fn make(step: *Step, prog_node: *std.Progress.Node) !void { b.fmt("{s}{s}", .{ placeholder.output.prefix, output_path }); } - return runCommand(run, argv_list.items, has_side_effects, output_dir_path, prog_node); + try runCommand(run, argv_list.items, has_side_effects, output_dir_path, prog_node); + try step.writeManifest(&man); + return; }; // We do not know the final output paths yet, use temp paths to run the command.