| ... | ... | @@ -4058,7 +4058,7 @@ fn createModule( |
| 4058 | 4058 | }; |
| 4059 | 4059 | } |
| 4060 | 4060 | |
| 4061 | | if (builtin.target.os.tag == .windows and (target.abi == .msvc or target.abi == .itanium) and |
| 4061 | if (target.os.tag == .windows and (target.abi == .msvc or target.abi == .itanium) and |
| 4062 | 4062 | any_name_queries_remaining) |
| 4063 | 4063 | { |
| 4064 | 4064 | if (create_module.libc_installation == null) { |
| ... | ... | @@ -4069,11 +4069,10 @@ fn createModule( |
| 4069 | 4069 | }) catch |err| { |
| 4070 | 4070 | fatal("unable to find native libc installation: {s}", .{@errorName(err)}); |
| 4071 | 4071 | }; |
| 4072 | | |
| 4073 | | try create_module.lib_directories.ensureUnusedCapacity(arena, 2); |
| 4074 | | addLibDirectoryWarn(&create_module.lib_directories, create_module.libc_installation.?.msvc_lib_dir.?); |
| 4075 | | addLibDirectoryWarn(&create_module.lib_directories, create_module.libc_installation.?.kernel32_lib_dir.?); |
| 4076 | 4072 | } |
| 4073 | try create_module.lib_directories.ensureUnusedCapacity(arena, 2); |
| 4074 | addLibDirectoryWarn(&create_module.lib_directories, create_module.libc_installation.?.msvc_lib_dir.?); |
| 4075 | addLibDirectoryWarn(&create_module.lib_directories, create_module.libc_installation.?.kernel32_lib_dir.?); |
| 4077 | 4076 | } |
| 4078 | 4077 | |
| 4079 | 4078 | // Destructively mutates but does not transfer ownership of `unresolved_link_inputs`. |