mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 22:35:24 +00:00
fix: windows libc lib paths for x86-windows-msvc
This commit is contained in:
parent
0585ed0641
commit
fed8df9217
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user