commit 34e628a0a0239eb7da4ee9c69dae62c16dd93a55 (tree)
parent e4b3da27203e0117ac29cceb03d7fe396f3931a7
Author: Jakub Konka <kubkon@jakubkonka.com>
Date: Tue, 18 Aug 2020 22:37:25 +0200
Fix compile error
Signed-off-by: Jakub Konka <kubkon@jakubkonka.com>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src-self-hosted/link/MachO.zig b/src-self-hosted/link/MachO.zig
@@ -134,10 +134,10 @@ fn writeMachOHeader(self: *MachO) !void {
pub fn flush(self: *MachO, module: *Module) !void {
// TODO implement flush
if (self.entry_addr == null and self.base.options.output_mode == .Exe) {
- log.debug(.link, "flushing. no_entry_point_found = true\n", .{});
+ log.debug("flushing. no_entry_point_found = true\n", .{});
self.error_flags.no_entry_point_found = true;
} else {
- log.debug(.link, "flushing. no_entry_point_found = false\n", .{});
+ log.debug("flushing. no_entry_point_found = false\n", .{});
self.error_flags.no_entry_point_found = false;
try self.writeMachOHeader();
}