From eef111fe78d7b246b634a07561082a6fcf947e09 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 21 Aug 2020 01:15:17 +0200 Subject: [PATCH] Fix missing init() update in std/build/write_file.zig --- lib/std/build/write_file.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/build/write_file.zig b/lib/std/build/write_file.zig index 222de7c79a..17c4b760a1 100644 --- a/lib/std/build/write_file.zig +++ b/lib/std/build/write_file.zig @@ -58,7 +58,7 @@ pub const WriteFileStep = struct { // TODO port the cache system from stage1 to zig std lib. Until then we use blake2b // directly and construct the path, and no "cache hit" detection happens; the files // are always written. - var hash = std.crypto.hash.blake2.Blake2b384.init(); + var hash = std.crypto.hash.blake2.Blake2b384.init(.{}); // Random bytes to make WriteFileStep unique. Refresh this with // new random bytes when WriteFileStep implementation is modified