aboutsummaryrefslogtreecommitdiff
path: root/lib/std/build/WriteFileStep.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-12-06 20:35:50 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-12-06 20:38:54 -0700
commit50eb7983cde6e07d2613a6f3ab164ca055d9306f (patch)
treebe9361a684543867bf3fd1711e64c7974660d074 /lib/std/build/WriteFileStep.zig
parentc8aba15c222e5bb8cf5d2d48678761197f564351 (diff)
downloadzig-50eb7983cde6e07d2613a6f3ab164ca055d9306f.tar.gz
zig-50eb7983cde6e07d2613a6f3ab164ca055d9306f.zip
remove most conditional compilation based on stage1
There are still a few occurrences of "stage1" in the standard library and self-hosted compiler source, however, these instances need a bit more careful inspection to ensure no breakage.
Diffstat (limited to 'lib/std/build/WriteFileStep.zig')
-rw-r--r--lib/std/build/WriteFileStep.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/std/build/WriteFileStep.zig b/lib/std/build/WriteFileStep.zig
index 79b5f9386f..e608f1bd9c 100644
--- a/lib/std/build/WriteFileStep.zig
+++ b/lib/std/build/WriteFileStep.zig
@@ -62,9 +62,9 @@ fn make(step: *Step) !void {
// If, for example, a hard-coded path was used as the location to put WriteFileStep
// files, then two WriteFileSteps executing in parallel might clobber each other.
- // 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.
+ // TODO port the cache system from the compiler 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(.{});
// Random bytes to make WriteFileStep unique. Refresh this with