From 872629b78e434392f65ff2cb566a1538885e520f Mon Sep 17 00:00:00 2001 From: gero3 Date: Tue, 2 Jun 2026 19:06:33 +0200 Subject: [PATCH] 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 --- lib/std/zig/LibCInstallation.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/std/zig/LibCInstallation.zig b/lib/std/zig/LibCInstallation.zig index 441ed520db895cef50cbdae90aec88dfc7836ba7..daf1fb14cb5e502f881348f2dcb118b4b6a6d696 100644 --- a/lib/std/zig/LibCInstallation.zig +++ b/lib/std/zig/LibCInstallation.zig @@ -421,7 +421,7 @@ fn findNativeCrtDirWindows( const arch_sub_dir = switch (target.cpu.arch) { .x86 => "x86", .x86_64 => "x64", - .arm, .armeb => "arm", + .thumb => "arm", .aarch64 => "arm64", else => return error.UnsupportedArchitecture, }; @@ -488,7 +488,7 @@ fn findNativeKernel32LibDir( const arch_sub_dir = switch (args.target.cpu.arch) { .x86 => "x86", .x86_64 => "x64", - .arm, .armeb => "arm", + .thumb => "arm", .aarch64 => "arm64", else => return error.UnsupportedArchitecture, }; -- 2.54.0