aboutsummaryrefslogtreecommitdiff
path: root/src/link/Wasm.zig
diff options
context:
space:
mode:
authorTimon Kruiper <timonkruiper@gmail.com>2021-03-02 11:44:33 +0100
committerAndrew Kelley <andrew@ziglang.org>2021-03-02 19:02:55 -0700
commit6aa1ea9c59340a1f5b7560ecd97e45928bd4cf56 (patch)
treef038434259f44c5884350c8008c717ddc640b793 /src/link/Wasm.zig
parented6757ece6228f8bf43f9d8e0481f4160b9a884b (diff)
downloadzig-6aa1ea9c59340a1f5b7560ecd97e45928bd4cf56.tar.gz
zig-6aa1ea9c59340a1f5b7560ecd97e45928bd4cf56.zip
stage2: fixup some formatting errors ({x} -> {s})
These were missed in cd7c870bd81391dd97c5c75eb3910382ba7280a1
Diffstat (limited to 'src/link/Wasm.zig')
-rw-r--r--src/link/Wasm.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/link/Wasm.zig b/src/link/Wasm.zig
index e0e10ad88d..71cb171d98 100644
--- a/src/link/Wasm.zig
+++ b/src/link/Wasm.zig
@@ -391,17 +391,17 @@ fn linkWithLLD(self: *Wasm, comp: *Compilation) !void {
id_symlink_basename,
&prev_digest_buf,
) catch |err| blk: {
- log.debug("WASM LLD new_digest={x} error: {s}", .{ digest, @errorName(err) });
+ log.debug("WASM LLD new_digest={s} error: {s}", .{ std.fmt.fmtSliceHexLower(&digest), @errorName(err) });
// Handle this as a cache miss.
break :blk prev_digest_buf[0..0];
};
if (mem.eql(u8, prev_digest, &digest)) {
- log.debug("WASM LLD digest={x} match - skipping invocation", .{digest});
+ log.debug("WASM LLD digest={s} match - skipping invocation", .{std.fmt.fmtSliceHexLower(&digest)});
// Hot diggity dog! The output binary is already there.
self.base.lock = man.toOwnedLock();
return;
}
- log.debug("WASM LLD prev_digest={x} new_digest={x}", .{ prev_digest, digest });
+ log.debug("WASM LLD prev_digest={s} new_digest={s}", .{ std.fmt.fmtSliceHexLower(prev_digest), std.fmt.fmtSliceHexLower(&digest) });
// We are about to change the output file to be different, so we invalidate the build hash now.
directory.handle.deleteFile(id_symlink_basename) catch |err| switch (err) {