fix: windows libc lib paths for x86-windows-msvc

This commit is contained in:
Tangtang Zhou 2025-01-01 17:31:39 +01:00 committed by Alex Rønne Petersen
parent 0585ed0641
commit fed8df9217

View File

@ -407,7 +407,7 @@ fn findNativeCrtDirWindows(
var result_buf = std.ArrayList(u8).init(allocator);
defer result_buf.deinit();
const arch_sub_dir = switch (builtin.target.cpu.arch) {
const arch_sub_dir = switch (args.target.cpu.arch) {
.x86 => "x86",
.x86_64 => "x64",
.arm, .armeb => "arm",
@ -474,7 +474,7 @@ fn findNativeKernel32LibDir(
var result_buf = std.ArrayList(u8).init(allocator);
defer result_buf.deinit();
const arch_sub_dir = switch (builtin.target.cpu.arch) {
const arch_sub_dir = switch (args.target.cpu.arch) {
.x86 => "x86",
.x86_64 => "x64",
.arm, .armeb => "arm",