diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-07-13 22:42:04 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-13 22:42:04 -0700 |
| commit | bd7b2cc4b49127474a028e6726fce33c5db3df12 (patch) | |
| tree | 01e71492173186830a10157adfcc118a1e83806c /src/main.zig | |
| parent | fba618a6c9ae4f70dc8a7879975adf31d3a44d4d (diff) | |
| parent | c31871065394c78d7d316b2a1709077437d29ccf (diff) | |
| download | zig-bd7b2cc4b49127474a028e6726fce33c5db3df12.tar.gz zig-bd7b2cc4b49127474a028e6726fce33c5db3df12.zip | |
Merge pull request #20620 from kcbanner/fixup_msvc_bootstrap
Fixes for bootrapping with MSVC
Diffstat (limited to 'src/main.zig')
| -rw-r--r-- | src/main.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.zig b/src/main.zig index 29d5296cb8..06c20d514c 100644 --- a/src/main.zig +++ b/src/main.zig @@ -2710,7 +2710,7 @@ fn buildOutputType( break :d getWasiPreopen("/lib"); } else if (self_exe_path) |p| { break :d introspect.findZigLibDirFromSelfExe(arena, p) catch |err| { - fatal("unable to find zig installation directory: {s}", .{@errorName(err)}); + fatal("unable to find zig installation directory '{s}': {s}", .{ p, @errorName(err) }); }; } else { unreachable; @@ -7403,7 +7403,7 @@ fn findTemplates(gpa: Allocator, arena: Allocator) Templates { fatal("unable to find self exe path: {s}", .{@errorName(err)}); }; var zig_lib_directory = introspect.findZigLibDirFromSelfExe(arena, self_exe_path) catch |err| { - fatal("unable to find zig installation directory: {s}", .{@errorName(err)}); + fatal("unable to find zig installation directory '{s}': {s}", .{ self_exe_path, @errorName(err) }); }; const s = fs.path.sep_str; |
