| ... | @@ -3659,11 +3659,13 @@ fn createModule( | ... | @@ -3659,11 +3659,13 @@ fn createModule( |
| 3659 | external_system_libs.len != 0) | 3659 | external_system_libs.len != 0) |
| 3660 | { | 3660 | { |
| 3661 | if (create_module.libc_installation == null) { | 3661 | if (create_module.libc_installation == null) { |
| 3662 | create_module.libc_installation = try LibCInstallation.findNative(.{ | 3662 | create_module.libc_installation = LibCInstallation.findNative(.{ |
| 3663 | .allocator = arena, | 3663 | .allocator = arena, |
| 3664 | .verbose = true, | 3664 | .verbose = true, |
| 3665 | .target = target, | 3665 | .target = target, |
| 3666 | }); | 3666 | }) catch |err| { |
| | 3667 | fatal("unable to find native libc installation: {s}", .{@errorName(err)}); |
| | 3668 | }; |
| 3667 | | 3669 | |
| 3668 | try create_module.lib_dirs.appendSlice(arena, &.{ | 3670 | try create_module.lib_dirs.appendSlice(arena, &.{ |
| 3669 | create_module.libc_installation.?.msvc_lib_dir.?, | 3671 | create_module.libc_installation.?.msvc_lib_dir.?, |