| ... | @@ -314,14 +314,14 @@ fn make(step: *Step, prog_node: *std.Progress.Node) !void { | ... | @@ -314,14 +314,14 @@ fn make(step: *Step, prog_node: *std.Progress.Node) !void { |
| 314 | const self = @fieldParentPtr(CheckObjectStep, "step", step); | 314 | const self = @fieldParentPtr(CheckObjectStep, "step", step); |
| 315 | | 315 | |
| 316 | const src_path = self.source.getPath(b); | 316 | const src_path = self.source.getPath(b); |
| 317 | const contents = try fs.cwd().readFileAllocOptions( | 317 | const contents = fs.cwd().readFileAllocOptions( |
| 318 | gpa, | 318 | gpa, |
| 319 | src_path, | 319 | src_path, |
| 320 | self.max_bytes, | 320 | self.max_bytes, |
| 321 | null, | 321 | null, |
| 322 | @alignOf(u64), | 322 | @alignOf(u64), |
| 323 | null, | 323 | null, |
| 324 | ); | 324 | ) catch |err| return step.fail("unable to read '{s}': {s}", .{ src_path, @errorName(err) }); |
| 325 | | 325 | |
| 326 | const output = switch (self.obj_format) { | 326 | const output = switch (self.obj_format) { |
| 327 | .macho => try MachODumper.parseAndDump(step, contents, .{ | 327 | .macho => try MachODumper.parseAndDump(step, contents, .{ |