| ... | @@ -1820,7 +1820,7 @@ fn buildOutputType( | ... | @@ -1820,7 +1820,7 @@ fn buildOutputType( |
| 1820 | | 1820 | |
| 1821 | if (libc_paths_file) |paths_file| { | 1821 | if (libc_paths_file) |paths_file| { |
| 1822 | libc_installation = LibCInstallation.parse(gpa, paths_file) catch |err| { | 1822 | libc_installation = LibCInstallation.parse(gpa, paths_file) catch |err| { |
| 1823 | fatal("unable to parse libc paths file: {s}", .{@errorName(err)}); | 1823 | fatal("unable to parse libc paths file at path {s}: {s}", .{ paths_file, @errorName(err) }); |
| 1824 | }; | 1824 | }; |
| 1825 | } | 1825 | } |
| 1826 | | 1826 | |
| ... | @@ -2494,7 +2494,7 @@ pub fn cmdLibC(gpa: *Allocator, args: []const []const u8) !void { | ... | @@ -2494,7 +2494,7 @@ pub fn cmdLibC(gpa: *Allocator, args: []const []const u8) !void { |
| 2494 | } | 2494 | } |
| 2495 | if (input_file) |libc_file| { | 2495 | if (input_file) |libc_file| { |
| 2496 | var libc = LibCInstallation.parse(gpa, libc_file) catch |err| { | 2496 | var libc = LibCInstallation.parse(gpa, libc_file) catch |err| { |
| 2497 | fatal("unable to parse libc file: {s}", .{@errorName(err)}); | 2497 | fatal("unable to parse libc file at path {s}: {s}", .{ libc_file, @errorName(err) }); |
| 2498 | }; | 2498 | }; |
| 2499 | defer libc.deinit(gpa); | 2499 | defer libc.deinit(gpa); |
| 2500 | } else { | 2500 | } else { |