mirror of
https://github.com/ziglang/zig.git
synced 2025-12-27 08:33:15 +00:00
Fix compile error
Signed-off-by: Jakub Konka <kubkon@jakubkonka.com>
This commit is contained in:
parent
e4b3da2720
commit
34e628a0a0
@ -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();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user