| ... | ... | @@ -283,13 +283,7 @@ pub fn buildImportLib(comp: *Compilation, lib_name: []const u8) !void { |
| 283 | 283 | const lib_final_path_z = try comp.global_cache_directory.joinZ(arena, &.{lib_final_path}); |
| 284 | 284 | if (llvm_bindings.WriteImportLibrary( |
| 285 | 285 | def_final_path_z.ptr, |
| 286 | | @intFromEnum(@as(std.coff.MachineType, switch (target.cpu.arch) { |
| 287 | | .arm, .armeb, .thumb, .thumbeb => .ARMNT, |
| 288 | | .aarch64, .aarch64_be => .ARM64, |
| 289 | | .x86 => .I386, |
| 290 | | .x86_64 => .X64, |
| 291 | | else => unreachable, |
| 292 | | })), |
| 286 | @intFromEnum(target.toCoffMachine()), |
| 293 | 287 | lib_final_path_z.ptr, |
| 294 | 288 | true, |
| 295 | 289 | )) { |