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(...@@ -421,7 +421,7 @@ fn findNativeCrtDirWindows(
421 const arch_sub_dir = switch (target.cpu.arch) {421 const arch_sub_dir = switch (target.cpu.arch) {
422 .x86 => "x86",422 .x86 => "x86",
423 .x86_64 => "x64",423 .x86_64 => "x64",
424 .arm, .armeb => "arm",424 .thumb => "arm",
425 .aarch64 => "arm64",425 .aarch64 => "arm64",
426 else => return error.UnsupportedArchitecture,426 else => return error.UnsupportedArchitecture,
427 };427 };
...@@ -488,7 +488,7 @@ fn findNativeKernel32LibDir(...@@ -488,7 +488,7 @@ fn findNativeKernel32LibDir(
488 const arch_sub_dir = switch (args.target.cpu.arch) {488 const arch_sub_dir = switch (args.target.cpu.arch) {
489 .x86 => "x86",489 .x86 => "x86",
490 .x86_64 => "x64",490 .x86_64 => "x64",
491 .arm, .armeb => "arm",491 .thumb => "arm",
492 .aarch64 => "arm64",492 .aarch64 => "arm64",
493 else => return error.UnsupportedArchitecture,493 else => return error.UnsupportedArchitecture,
494 };494 };