Skip to content

Commit

Permalink
fix: windows libc lib paths for x86-windows-msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
tangtang95 authored and alexrp committed Jan 1, 2025
1 parent 0585ed0 commit fed8df9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/std/zig/LibCInstallation.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit fed8df9

Please sign in to comment.