| ... | ... | @@ -580,10 +580,10 @@ pub const Installation = struct { |
| 580 | 580 | defer options_key.closeKey(); |
| 581 | 581 | |
| 582 | 582 | const option_name = comptime switch (builtin.target.cpu.arch) { |
| 583 | | .arm, .armeb => "OptionId.DesktopCPParm", |
| 583 | .thumb => "OptionId.DesktopCPParm", |
| 584 | 584 | .aarch64 => "OptionId.DesktopCPParm64", |
| 585 | | .x86_64 => "OptionId.DesktopCPPx64", |
| 586 | 585 | .x86 => "OptionId.DesktopCPPx86", |
| 586 | .x86_64 => "OptionId.DesktopCPPx64", |
| 587 | 587 | else => |tag| @compileError("Windows SDK cannot be detected on architecture " ++ tag), |
| 588 | 588 | }; |
| 589 | 589 | |
| ... | ... | @@ -824,10 +824,10 @@ const MsvcLibDir = struct { |
| 824 | 824 | try lib_dir_buf.appendSlice("VC\\Tools\\MSVC\\"); |
| 825 | 825 | try lib_dir_buf.appendSlice(default_tools_version); |
| 826 | 826 | const folder_with_arch = "\\Lib\\" ++ comptime switch (builtin.target.cpu.arch) { |
| 827 | .thumb => "arm", |
| 828 | .aarch64 => "arm64", |
| 827 | 829 | .x86 => "x86", |
| 828 | 830 | .x86_64 => "x64", |
| 829 | | .arm, .armeb => "arm", |
| 830 | | .aarch64 => "arm64", |
| 831 | 831 | else => |tag| @compileError("MSVC lib dir cannot be detected on architecture " ++ tag), |
| 832 | 832 | }; |
| 833 | 833 | try lib_dir_buf.appendSlice(folder_with_arch); |
| ... | ... | @@ -909,10 +909,10 @@ const MsvcLibDir = struct { |
| 909 | 909 | } |
| 910 | 910 | |
| 911 | 911 | const folder_with_arch = "\\Lib\\" ++ comptime switch (builtin.target.cpu.arch) { |
| 912 | .thumb => "arm", |
| 913 | .aarch64 => "arm64", |
| 912 | 914 | .x86 => "x86", |
| 913 | 915 | .x86_64 => "x64", |
| 914 | | .arm, .armeb => "arm", |
| 915 | | .aarch64 => "arm64", |
| 916 | 916 | else => |tag| @compileError("MSVC lib dir cannot be detected on architecture " ++ tag), |
| 917 | 917 | }; |
| 918 | 918 | |
| ... | ... | @@ -977,10 +977,10 @@ const MsvcLibDir = struct { |
| 977 | 977 | errdefer base_path.deinit(); |
| 978 | 978 | |
| 979 | 979 | const folder_with_arch = "\\VC\\lib\\" ++ comptime switch (builtin.target.cpu.arch) { |
| 980 | .thumb => "arm", |
| 981 | .aarch64 => "arm64", |
| 980 | 982 | .x86 => "", //x86 is in the root of the Lib folder |
| 981 | 983 | .x86_64 => "amd64", |
| 982 | | .arm, .armeb => "arm", |
| 983 | | .aarch64 => "arm64", |
| 984 | 984 | else => |tag| @compileError("MSVC lib dir cannot be detected on architecture " ++ tag), |
| 985 | 985 | }; |
| 986 | 986 | try base_path.appendSlice(folder_with_arch); |