| ... | ... | @@ -539,7 +539,7 @@ const MachODumper = struct { |
| 539 | 539 | strings: []const u8, |
| 540 | 540 | }; |
| 541 | 541 | |
| 542 | | fn parseAndDump(step: *Step, bytes: []align(@alignOf(u64)) const u8) ![]const u8 { |
| 542 | fn parseAndDump(step: *Step, bytes: []const u8) ![]const u8 { |
| 543 | 543 | const gpa = step.owner.allocator; |
| 544 | 544 | var stream = std.io.fixedBufferStream(bytes); |
| 545 | 545 | const reader = stream.reader(); |
| ... | ... | @@ -556,7 +556,7 @@ const MachODumper = struct { |
| 556 | 556 | var sections = std.ArrayList(macho.section_64).init(gpa); |
| 557 | 557 | var imports = std.ArrayList([]const u8).init(gpa); |
| 558 | 558 | |
| 559 | | var it = LoadCommandIterator{ |
| 559 | var it: LoadCommandIterator = .{ |
| 560 | 560 | .ncmds = hdr.ncmds, |
| 561 | 561 | .buffer = bytes[@sizeOf(macho.mach_header_64)..][0..hdr.sizeofcmds], |
| 562 | 562 | }; |