From 8d376a077cffd599a1f35d31d7d66a28784bb834 Mon Sep 17 00:00:00 2001 From: Alexandros Naskos Date: Fri, 24 Jul 2020 15:03:21 +0300 Subject: [PATCH] Fix build runner --- src/special/build_runner.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/special/build_runner.zig b/src/special/build_runner.zig index 4443018..f6b0549 100644 --- a/src/special/build_runner.zig +++ b/src/special/build_runner.zig @@ -34,7 +34,7 @@ pub fn main() !void { } } -fn processStep(stdout_stream: var, step: *std.build.Step) anyerror!void { +fn processStep(stdout_stream: anytype, step: *std.build.Step) anyerror!void { if (step.cast(InstallArtifactStep)) |install_exe| { for (install_exe.artifact.packages.items) |pkg| { try processPackage(stdout_stream, pkg); @@ -50,7 +50,7 @@ fn processStep(stdout_stream: var, step: *std.build.Step) anyerror!void { } } -fn processPackage(out_stream: var, pkg: Pkg) anyerror!void { +fn processPackage(out_stream: anytype, pkg: Pkg) anyerror!void { try out_stream.print("{}\x00{}\n", .{ pkg.name, pkg.path }); if (pkg.dependencies) |dependencies| { for (dependencies) |dep| {