Fix missing init() update in std/build/write_file.zig

This commit is contained in:
Frank Denis
2020-08-21 01:15:17 +02:00
committed by Andrew Kelley
parent 21106b9c9f
commit eef111fe78

View File

@@ -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