File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -4155,7 +4155,7 @@ fn createModule(
4155
4155
};
4156
4156
}
4157
4157
4158
- if (builtin . target .os .tag == .windows and (target .abi == .msvc or target .abi == .itanium ) and
4158
+ if (target .os .tag == .windows and (target .abi == .msvc or target .abi == .itanium ) and
4159
4159
any_name_queries_remaining )
4160
4160
{
4161
4161
if (create_module .libc_installation == null ) {
@@ -4166,11 +4166,10 @@ fn createModule(
4166
4166
}) catch | err | {
4167
4167
fatal ("unable to find native libc installation: {s}" , .{@errorName (err )});
4168
4168
};
4169
-
4170
- try create_module .lib_directories .ensureUnusedCapacity (arena , 2 );
4171
- addLibDirectoryWarn (& create_module .lib_directories , create_module .libc_installation .? .msvc_lib_dir .? );
4172
- addLibDirectoryWarn (& create_module .lib_directories , create_module .libc_installation .? .kernel32_lib_dir .? );
4173
4169
}
4170
+ try create_module .lib_directories .ensureUnusedCapacity (arena , 2 );
4171
+ addLibDirectoryWarn (& create_module .lib_directories , create_module .libc_installation .? .msvc_lib_dir .? );
4172
+ addLibDirectoryWarn (& create_module .lib_directories , create_module .libc_installation .? .kernel32_lib_dir .? );
4174
4173
}
4175
4174
4176
4175
// Destructively mutates but does not transfer ownership of `unresolved_link_inputs`.
You can’t perform that action at this time.
0 commit comments