mirror of
https://github.com/ziglang/zig.git
synced 2026-01-07 05:55:36 +00:00
macho: clean up formatting
This commit is contained in:
parent
3971522fee
commit
cc2592969d
@ -789,6 +789,7 @@ fn linkWithLLD(self: *MachO, comp: *Compilation) !void {
|
||||
mem.set(u8, dylib_cmd.data, 0);
|
||||
mem.copy(u8, dylib_cmd.data, mem.spanZ(LIB_SYSTEM_PATH));
|
||||
try self.load_commands.append(self.base.allocator, .{ .Dylib = dylib_cmd });
|
||||
|
||||
// Parse dyld info
|
||||
try self.parseBindingInfo();
|
||||
try self.parseLazyBindingInfo();
|
||||
@ -2059,7 +2060,7 @@ fn parseLazyBindingInfo(self: *MachO) !void {
|
||||
}
|
||||
}
|
||||
|
||||
fn parseAndFixupBindingInfoBuffer(allocator: *Allocator, buffer: []u8) !bool{
|
||||
fn parseAndFixupBindingInfoBuffer(allocator: *Allocator, buffer: []u8) !bool {
|
||||
var stream = std.io.fixedBufferStream(buffer);
|
||||
var reader = stream.reader();
|
||||
var done = false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user