diff options
| author | Vexu <git@vexu.eu> | 2020-12-09 13:54:26 +0200 |
|---|---|---|
| committer | Vexu <git@vexu.eu> | 2020-12-09 13:54:26 +0200 |
| commit | 7e30e8390044fbd396966b6e21d2de980d6f915f (patch) | |
| tree | 34a2fe2a2667b86f90c5498ac92b453ed15d3aaa /src/link/Coff.zig | |
| parent | be71994fb1cd0e638a0ce499c28a23940d3415ff (diff) | |
| download | zig-7e30e8390044fbd396966b6e21d2de980d6f915f.tar.gz zig-7e30e8390044fbd396966b6e21d2de980d6f915f.zip | |
small fixes and zig fmt
Diffstat (limited to 'src/link/Coff.zig')
| -rw-r--r-- | src/link/Coff.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/link/Coff.zig b/src/link/Coff.zig index b5eb645e5c..0ba12ca45d 100644 --- a/src/link/Coff.zig +++ b/src/link/Coff.zig @@ -1205,7 +1205,7 @@ fn linkWithLLD(self: *Coff, comp: *Compilation) !void { } if (stderr.len != 0) { - std.log.warn("unexpected LLD stderr:\n{s}", .{stderr}); + log.warn("unexpected LLD stderr:\n{s}", .{stderr}); } } } @@ -1214,11 +1214,11 @@ fn linkWithLLD(self: *Coff, comp: *Compilation) !void { // Update the file with the digest. If it fails we can continue; it only // means that the next invocation will have an unnecessary cache miss. Cache.writeSmallFile(directory.handle, id_symlink_basename, &digest) catch |err| { - std.log.warn("failed to save linking hash digest file: {}", .{@errorName(err)}); + log.warn("failed to save linking hash digest file: {}", .{@errorName(err)}); }; // Again failure here only means an unnecessary cache miss. man.writeManifest() catch |err| { - std.log.warn("failed to write cache manifest when linking: {}", .{@errorName(err)}); + log.warn("failed to write cache manifest when linking: {}", .{@errorName(err)}); }; // We hang on to this lock so that the output file path can be used without // other processes clobbering it. |
