Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 1, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading