authorgravatar for jeroen-876@hotmail.comgero3 <jeroen-876@hotmail.com> 2026-06-02 19:06:33+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-06-02 19:06:33+02:00
log872629b78e434392f65ff2cb566a1538885e520f
treef1155c03506973a26deeaa13a1a862ae8d4c2a1e
parent1bcd8d9fe60f72849254b7f74d9ea0f48eae6aaa

std.zig.LibCInstallation: fix msvc lookup for thumb-windows-msvc (#35579)

This removes a single error if you just run 'zig build test' on a fully configure windows machine. Reviewed-on: https://codeberg.org/ziglang/zig/pulls/35579

1 files changed, 2 insertions(+), 2 deletions(-)

lib/std/zig/LibCInstallation.zig+2-2
......@@ -421,7 +421,7 @@ fn findNativeCrtDirWindows(
421421 const arch_sub_dir = switch (target.cpu.arch) {
422422 .x86 => "x86",
423423 .x86_64 => "x64",
424 .arm, .armeb => "arm",
424 .thumb => "arm",
425425 .aarch64 => "arm64",
426426 else => return error.UnsupportedArchitecture,
427427 };
......@@ -488,7 +488,7 @@ fn findNativeKernel32LibDir(
488488 const arch_sub_dir = switch (args.target.cpu.arch) {
489489 .x86 => "x86",
490490 .x86_64 => "x64",
491 .arm, .armeb => "arm",
491 .thumb => "arm",
492492 .aarch64 => "arm64",
493493 else => return error.UnsupportedArchitecture,
494494 };